chore (images) #31: maj droits et env
This commit is contained in:
parent
0cdb4c3a36
commit
cd888d2080
|
@ -29,6 +29,7 @@ services:
|
||||||
- "localhost:host-gateway"
|
- "localhost:host-gateway"
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
environment:
|
environment:
|
||||||
|
- APP_ENV=prod
|
||||||
- PHP_FPM_MEMORY_LIMIT=128m
|
- PHP_FPM_MEMORY_LIMIT=128m
|
||||||
- APP_LOCALES=fr,en
|
- APP_LOCALES=fr,en
|
||||||
- HYDRA_ADMIN_BASE_URL=http://hydra:4445
|
- HYDRA_ADMIN_BASE_URL=http://hydra:4445
|
||||||
|
|
|
@ -13,3 +13,4 @@ ARG ADDITIONAL_PACKAGES="bash=5.2.15-r0 \
|
||||||
php81-bcmath=${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
|
||||||
|
|
|
@ -13,4 +13,5 @@ ARG ADDITIONAL_PACKAGES="bash=5.2.15-r0 \
|
||||||
php81-bcmath=${PHP_PKG_VERSION}"
|
php81-bcmath=${PHP_PKG_VERSION}"
|
||||||
|
|
||||||
FROM reg.cadoles.com/cadoles/symfony:alpine-php-8.1-standalone-2024.3.29-stable.1046.c568908
|
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
|
USER www-data
|
Loading…
Reference in New Issue