Correctif dans le Dockerfile de FrankenPHP pour la configuration de Composer, NPM et de l'utilisateur www-data.

This commit is contained in:
2026-03-01 10:39:26 +01:00
parent d19d3eed63
commit a7f9717b02
3 changed files with 26 additions and 12 deletions
+5
View File
@@ -9,11 +9,16 @@ services:
environment:
FRANKENPHP_ROOT_PATH: ${FRANKENPHP_ROOT_PATH}
# Configuration en local
VITE_PORT: ${VITE_PORT}
volumes:
- ./www:/app
- ./host/frankenphp/conf/Caddyfile:/etc/frankenphp/Caddyfile
- ./host/php/conf/${OPCACHE_CONFIG_FILE:-opcache.default.ini}:/usr/local/etc/php/conf.d/opcache.ini
- ./upload:/app/public/upload
user: "${UID:-1000}:${GID:-1000}"
healthcheck:
test: [ "CMD-SHELL", "curl -s http://localhost/server-php-test.php || exit 1" ]