diff --git a/Dockerfile b/Dockerfile index 6c2587c..889e6ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,10 @@ RUN cd nginx-* && ./configure --prefix=/usr/local/nginx \ # Stage 2: Create a minimal runtime image FROM alpine:latest +# Install runtime dependencies +RUN apk update && apk upgrade +RUN apk add pcre pcre-dev + # Copy Nginx binary and configuration from the build stage COPY --from=build /usr/local/sbin/nginx /usr/local/sbin/nginx COPY --from=build /etc/nginx /etc/nginx