Update Dockerfile
This commit is contained in:
@@ -2,7 +2,6 @@ FROM debian:latest
|
||||
RUN apt update && apt install -y nginx
|
||||
|
||||
COPY ./warmweb/ /var/www/html
|
||||
COPY ./warmwebconf/default /etc/nginx/conf.d/
|
||||
|
||||
RUN rm /etc/nginx/sites-enabled/default
|
||||
RUN echo "server {" > /etc/nginx/conf.d/default.conf && \
|
||||
@@ -15,4 +14,4 @@ echo "}" >> /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 52001
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
Reference in New Issue
Block a user