From b3ec1a47276772fc2580da288d1c0976cf095055 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 26 Oct 2023 12:03:44 +0100 Subject: [PATCH] WORK --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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