chore (images) #31: maj droits et env

This commit is contained in:
Rudy Masson 2024-04-18 17:12:28 +02:00
parent 0cdb4c3a36
commit cd888d2080
3 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,7 @@ services:
- "localhost:host-gateway"
- "host.docker.internal:host-gateway"
environment:
- APP_ENV=prod
- PHP_FPM_MEMORY_LIMIT=128m
- APP_LOCALES=fr,en
- HYDRA_ADMIN_BASE_URL=http://hydra:4445

View File

@ -12,4 +12,5 @@ ARG ADDITIONAL_PACKAGES="bash=5.2.15-r0 \
php81-pdo_mysql=${PHP_PKG_VERSION} \
php81-bcmath=${PHP_PKG_VERSION}"
FROM reg.cadoles.com/cadoles/symfony:alpine-php-8.1-base-2024.3.29-stable.1046.c568908
FROM reg.cadoles.com/cadoles/symfony:alpine-php-8.1-base-2024.3.29-stable.1046.c568908
RUN chown 1000:www-data -R /app

View File

@ -13,4 +13,5 @@ ARG ADDITIONAL_PACKAGES="bash=5.2.15-r0 \
php81-bcmath=${PHP_PKG_VERSION}"
FROM reg.cadoles.com/cadoles/symfony:alpine-php-8.1-standalone-2024.3.29-stable.1046.c568908
RUN chown 1000:www-data -R /app
USER www-data