diff --git a/Dockerfile b/Dockerfile index c78da8f..6c2587c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,10 +19,9 @@ RUN cd nginx-* && ./configure --prefix=/usr/local/nginx \ --error-log-path=/var/log/nginx/error.log \ --http-log-path=/var/log/nginx/access.log \ --with-http_ssl_module \ - --add-module=../ngx-fancyindex - -RUN make -RUN make install + --add-module=../ngx-fancyindex \ + && make \ + && make install # Stage 2: Create a minimal runtime image FROM alpine:latest