diff --git a/Dockerfile b/Dockerfile index a3c9373..42191da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ USER 0 # install nginx RUN apt-get update && apt-get install nginx -y # copy our nginx configuration to overwrite nginx defaults +RUN rm /etc/nginx/sites-enabled/default COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf # link nginx logs to container stdout RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log