From 8e76c21abd038c34e14a5c1f0a04e9f802da745a Mon Sep 17 00:00:00 2001 From: Andrew Paglusch Date: Fri, 1 Mar 2024 22:14:14 -0600 Subject: [PATCH] bump PHP to 8.3 --- docker/Dockerfile | 4 ++-- docker/entrypoint.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c7a709f..4fb6fe6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.19.1 -RUN apk add --no-cache gettext curl nginx php81 php81-fpm php81-opcache php81-pdo php81-pdo_sqlite php81-openssl && \ +RUN apk add --no-cache gettext curl nginx php83 php83-fpm php83-opcache php83-pdo php83-pdo_sqlite php83-openssl && \ mkdir /var/www/html COPY . /var/www/html @@ -8,7 +8,7 @@ COPY . /var/www/html RUN chmod -R 775 /var/www/html && \ chown -R nginx:nginx /var/www/html -COPY docker/php-fpm.conf /etc/php81/php-fpm.conf +COPY docker/php-fpm.conf /etc/php83/php-fpm.conf COPY docker/nginx.conf /etc/nginx/nginx.conf COPY docker/entrypoint.sh /entrypoint.sh diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 467581b..63f74da 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -28,7 +28,7 @@ rm -rf /var/www/html/docker # Start php-fpm and nginx chown -R nginx: /var/www/html/data/ touch /var/www/html/data/index.php -php-fpm81 +php-fpm83 nginx -c /etc/nginx/nginx.conf # Ready to serve? @@ -44,4 +44,4 @@ for i in 1 2 3; do done echo "Access logging is disabled for production use. Tailing error logs..." -tail -f /var/log/nginx/error.log /var/log/php81/error.log +tail -f /var/log/nginx/error.log /var/log/php83/error.log