daemon edit in Dockerfile
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 && \
|
||||
nginx -t && \
|
||||
nginx -g 'daemon off;' && \
|
||||
nginx -s reload
|
||||
|
||||
EXPOSE 80
|
||||
|
Reference in New Issue
Block a user