Skip to content

Commit 8f9f7e1

Browse files
committed
Formatting and update the CMD in Dockerfile.
1 parent 3a6b69a commit 8f9f7e1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ ADD static /www/static
162162
EXPOSE 1935
163163
EXPOSE 80
164164

165-
CMD /bin/sh -c envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < \
166-
/etc/nginx/nginx.conf.template > \
167-
/etc/nginx/nginx.conf && \
165+
CMD envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < \
166+
/etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf && \
168167
nginx

0 commit comments

Comments
 (0)