diff --git a/Dockerfile b/Dockerfile index 0c42f2a..ca8aab9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,9 +19,9 @@ RUN curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.ta --http-log-path=/var/log/nginx/access.log \ --pid-path=/var/run/nginx.pid \ --lock-path=/var/run/nginx.lock \ - --with-http_ssl_module=dynamic \ - --with-http_v2_module=dynamic \ - --with-http_gzip_static_module=dynamic \ + --with-http_ssl_module \ + --with-http_v2_module \ + --with-http_gzip_static_module \ && make && make install # --- Stage 2: runtime --- @@ -34,7 +34,6 @@ RUN apk add --no-cache pcre2 zlib openssl ca-certificates wget \ COPY --from=builder /usr/sbin/nginx /usr/sbin/nginx COPY --from=builder /etc/nginx /etc/nginx -COPY --from=builder /usr/lib/nginx /usr/lib/nginx COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 80 443