daemon running background
This commit is contained in:
@@ -6,6 +6,7 @@ COPY index.html /usr/share/nginx/html/index.html
|
|||||||
|
|
||||||
RUN sed -i 's|root /var/www/html;|root /usr/share/nginx/html;|' /etc/nginx/sites-available/default && \
|
RUN sed -i 's|root /var/www/html;|root /usr/share/nginx/html;|' /etc/nginx/sites-available/default && \
|
||||||
nginx -t && \
|
nginx -t && \
|
||||||
|
nginx -g 'daemon off;' & \
|
||||||
nginx -s reload
|
nginx -s reload
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
Reference in New Issue
Block a user