From 76034f2d7e9ca884dffcd9fdee4f941397e07358 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 28 Sep 2024 18:18:31 +0100 Subject: [PATCH] im silly --- Dockerfile | 2 +- docker/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1eeaab4..c2fbbdc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,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.20.3 # Copy Nginx and PHP-FPM binaries and configurations from the builder stage COPY --from=builder /usr/local/nginx /usr/local/nginx diff --git a/docker/start.sh b/docker/start.sh index 0479e93..402c022 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -47,7 +47,7 @@ sed -i "s/client_max_body_size 500M;/client_max_body_size ${MAX_UPLOAD_SIZE};/" function start() { echo "Starting PHP & Nginx" - php-fpm81 && + php-fpm83 && chmod 777 /run/php/php.sock && /usr/local/sbin/nginx -g 'daemon off;' }