Update to PHP8.3

This commit is contained in:
Alex Thomassen 2024-06-19 19:52:32 +00:00
parent 995fe40f0f
commit c222ab3b4d
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE
2 changed files with 7 additions and 3 deletions

View File

@ -23,6 +23,10 @@ server {
deny all;
}
location ~ (Dockerfile|docker-compose\.yml) {
deny all;
}
location /vendor {
deny all;
}

View File

@ -1,4 +1,4 @@
FROM php:8.1-fpm-bookworm
FROM php:8.3-fpm-bookworm
ARG user
ARG uid
@ -13,9 +13,9 @@ RUN apt update
# https://github.com/docker-library/docs/tree/master/php#php-core-extensions
# IDK if this is necessary, but probably doesn't hurt
RUN apt install -y ttf-mscorefonts-installer libfreetype-dev libjpeg62-turbo-dev libpng-dev
RUN apt install -y nginx git
RUN apt install -y nginx git zip unzip libzip-dev
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
RUN docker-php-ext-install gd
RUN docker-php-ext-install gd zip
COPY .docker/nginx/diplom.conf /etc/nginx/sites-enabled/default