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 0cd2b40 commit c98ad5fCopy full SHA for c98ad5f
Dockerfile
@@ -12,6 +12,7 @@ ENV CONFIG=/etc/nginx/conf.d/OpenSpeedTest-Server.conf
12
ENV CHANGE_CONTAINER_PORTS=false
13
ENV HTTP_PORT=3000
14
ENV HTTPS_PORT=3001
15
+ENV SET_USER=101
16
17
COPY /files/OpenSpeedTest-Server.conf ${CONFIG}
18
COPY /files/entrypoint.sh /entrypoint.sh
@@ -66,7 +67,7 @@ RUN chown nginx:nginx /usr/sbin/crond \
66
67
RUN touch /etc/crontabs/nginx
68
RUN chown -R nginx:nginx /etc/crontabs/nginx
69
-USER 101
70
+USER ${SET_USER}
71
72
EXPOSE ${HTTP_PORT} ${HTTPS_PORT}
73
0 commit comments