From 95d820033886a0e61a43219cb13da5fbdde1a70c Mon Sep 17 00:00:00 2001 From: sharkoz Date: Tue, 3 Sep 2019 20:55:26 +0200 Subject: [PATCH] remove useless command --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e1f247..6ea22c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,5 @@ ENV LISTEN_PORT=80 \ COPY nginx.tmpl /etc/nginx/nginx.tmpl COPY index.html /usr/share/nginx/html COPY static/ /usr/share/nginx/html/static/ -RUN ls /usr/share/nginx/html/* -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;' || cat /etc/nginx/nginx.conf"