diff --git a/Dockerfile b/Dockerfile index 5d234f2..322d59f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;"] \ No newline at end of file