Update to PHP8.3
This commit is contained in:
parent
995fe40f0f
commit
c222ab3b4d
@ -23,6 +23,10 @@ server {
|
|||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ (Dockerfile|docker-compose\.yml) {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
location /vendor {
|
location /vendor {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM php:8.1-fpm-bookworm
|
FROM php:8.3-fpm-bookworm
|
||||||
|
|
||||||
ARG user
|
ARG user
|
||||||
ARG uid
|
ARG uid
|
||||||
@ -13,9 +13,9 @@ RUN apt update
|
|||||||
# https://github.com/docker-library/docs/tree/master/php#php-core-extensions
|
# https://github.com/docker-library/docs/tree/master/php#php-core-extensions
|
||||||
# IDK if this is necessary, but probably doesn't hurt
|
# 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 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-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
|
COPY .docker/nginx/diplom.conf /etc/nginx/sites-enabled/default
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user