Skip to content

Commit ef063d6

Browse files
jk464cognifloyd
andauthored
Update st2web/Dockerfile
Co-authored-by: Jacob Floyd <[email protected]>
1 parent 4d28a30 commit ef063d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

st2web/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ EXPOSE 443
8383
EXPOSE 8080
8484
EXPOSE 8443
8585
STOPSIGNAL SIGTERM
86-
RUN touch /var/run/nginx.pid && chown 999:999 /etc/nginx/conf.d/ /var/cache/nginx/ /var/run/nginx.pid
86+
RUN touch /var/run/nginx.pid && chown nginx:nginx /etc/nginx/conf.d/ /var/cache/nginx/ /var/run/nginx.pid
8787
CMD ["/bin/bash", "-c", "if [ ${ST2WEB_HTTPS} = 1 ]; then ST2WEB_TEMPLATE='/etc/nginx/conf.d/st2-https.template'; else ST2WEB_TEMPLATE='/etc/nginx/conf.d/st2-http.template'; fi && envsubst '${ST2_AUTH_URL} ${ST2_API_URL} ${ST2_STREAM_URL} ${ST2_PORT_HTTP} ${ST2_PORT_HTTPS}' < ${ST2WEB_TEMPLATE} > /etc/nginx/conf.d/st2.conf && exec nginx -g 'daemon off;'"]

0 commit comments

Comments
 (0)