We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f1eee commit 3494605Copy full SHA for 3494605
Dockerfile
@@ -53,6 +53,12 @@ ADD entrypoint.sh /entrypoint.sh
53
ADD create_ca_cert.sh /create_ca_cert.sh
54
RUN chmod +x /create_ca_cert.sh /entrypoint.sh
55
56
+# Allow running nginx with unprivileged user
57
+RUN chown 1000:1000 /etc/nginx && \
58
+ mkdir /certs && chown 1000:1000 /certs
59
+
60
+USER 1000:1000
61
62
# Clients should only use 3128, not anything else.
63
EXPOSE 3128
64
0 commit comments