diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 2ca20d6f..f348cb19 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -3,14 +3,13 @@ FROM nginx:latest ENV DEBIAN_FRONTEND noninteractive -RUN apt-get update && apt-get install -y openssl apache2-utils +RUN apt-get update && apt-get install -y openssl apache2-utils && \ + apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* COPY config/entrypoint.sh /entrypoint.sh RUN chmod 755 /entrypoint.sh -RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* - VOLUME ["/etc/nginx/conf.d"] ENV NGINX_NAME="foo" \