im silly
All checks were successful
Publish Docker Image / docker (push) Successful in 1m1s

This commit is contained in:
Lee 2024-09-28 18:18:31 +01:00
parent 7c5b10da0b
commit 76034f2d7e
2 changed files with 2 additions and 2 deletions

@ -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

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