From 4fca3d4cd7b85b5acbe616318769474af9e6b4fa Mon Sep 17 00:00:00 2001 From: sharkoz Date: Mon, 16 Sep 2019 16:52:17 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6ea22c7..50889c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ COPY nginx.tmpl /etc/nginx/nginx.tmpl COPY index.html /usr/share/nginx/html COPY static/ /usr/share/nginx/html/static/ -CMD /bin/sh -c "envsubst '\${SERVER_HOST} \${SERVER_PORT} \${LISTEN_PORT}' < /etc/nginx/nginx.tmpl > /etc/nginx/nginx.conf && nginx -g 'daemon off;' || cat /etc/nginx/nginx.conf" +CMD /bin/sh -c "envsubst '\${SERVER_HOST} \${SERVER_PORT} \${LISTEN_PORT}' < /etc/nginx/nginx.tmpl > /etc/nginx/nginx.conf && nginx -g 'daemon off;' || ( env; cat /etc/nginx/nginx.conf )"