This commit is contained in:
parent
7c5b10da0b
commit
76034f2d7e
@ -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;'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user