diff --git a/challenges/web/Dockerfile b/challenges/web/Dockerfile deleted file mode 100644 index 424e3b4..0000000 --- a/challenges/web/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -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 && \ -echo " listen 52001;" >> /etc/nginx/conf.d/default.conf && \ -echo " location / {" >> /etc/nginx/conf.d/default.conf && \ -echo " root /var/www/html;" >> /etc/nginx/conf.d/default.conf && \ -echo " index index.html index.htm;" >> /etc/nginx/conf.d/default.conf && \ -echo " }" >> /etc/nginx/conf.d/default.conf && \ -echo "}" >> /etc/nginx/conf.d/default.conf - -EXPOSE 52001 - -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file