We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 277d381 commit 49bcf8aCopy full SHA for 49bcf8a
Dockerfile
@@ -1,5 +1,7 @@
1
FROM nginxinc/nginx-unprivileged:1.27.1-alpine
2
-COPY static /usr/share/nginx/html
+USER root
3
RUN apk update && \
4
- apk upgrade expat openssl && \
5
- rm -rf /var/cache/apk/*
+ apk upgrade openssl expat && \
+ rm -rf /var/cache/apk/*
6
+USER nginx
7
+COPY static /usr/share/nginx/html
0 commit comments