Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Commit

Permalink
remove shadow as it is causing failed builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kgudel committed Jun 6, 2019
1 parent dcd2cac commit d4fde82
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ ENV NGINX_USER=nginx
RUN rm -rf /etc/nginx/conf.d
COPY nginx /etc/nginx
COPY --from=build-stage /usr/src/app/build /usr/share/nginx/html/tools
RUN apk --no-cache add shadow && \
usermod -l $NGINX_USER nginx && \
groupmod -n $NGINX_USER nginx && \
chown -R $NGINX_USER:$NGINX_USER /etc/nginx /usr/share/nginx/html/tools

EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit d4fde82

Please sign in to comment.