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;' }