From e037c69a5ebe209dfa97d2d0ccdbe619ee1fa9ef Mon Sep 17 00:00:00 2001 From: Lee Date: Sun, 7 Jul 2024 18:09:13 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5cc18d6..89ecda5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build Nginx -FROM alpine:3.20.1 as builder +FROM alpine:3.19.1 as builder # Install build dependencies and required tools RUN apk update && apk upgrade && \ @@ -31,7 +31,7 @@ COPY ./docker/index.html /tmp/index.html COPY ./public /tmp/public # Stage 2: Create a smaller production image -FROM alpine:3.20.1 +FROM alpine:3.19.1 # Copy Nginx and PHP-FPM binaries and configurations from the builder stage COPY --from=builder /usr/local/nginx /usr/local/nginx