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

Commit

Permalink
Merge pull request #211 from kgudel/upgradeDependecies
Browse files Browse the repository at this point in the history
remove shadow as it is causing failed builds
  • Loading branch information
wpears authored Jun 6, 2019
2 parents d0a1de0 + d4fde82 commit 3fe7ead
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 3fe7ead

Please sign in to comment.