We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f6882b commit c53fbacCopy full SHA for c53fbac
src/storefront/Dockerfile
@@ -48,12 +48,12 @@ RUN npm run build
48
FROM --platform=${TARGETPLATFORM:-linux/amd64} nginxinc/nginx-unprivileged:1.20-alpine
49
50
USER root
51
-RUN chown -R nginx:nginx /usr/share/nginx
52
-USER nginx
+RUN chown -R 101:101 /usr/share/nginx
+USER 101
53
COPY nginx/nginx.conf /etc/nginx/nginx.conf
54
-COPY --chmod=666 nginx/default.conf /etc/nginx/conf.d/default.conf
+COPY nginx/default.conf /etc/nginx/conf.d/default.conf
55
COPY --chmod=555 nginx/15-storefront-extras.sh /docker-entrypoint.d/15-storefront-extras.sh
56
-COPY --chown=nginx:nginx --from=builder /usr/src/app/build /usr/share/nginx/html
+COPY --chown=101:101 --from=builder /usr/src/app/build /usr/share/nginx/html
57
58
59
EXPOSE 8080
0 commit comments