fix: install deps on container start (anonymous volumes mask host dirs)

This commit is contained in:
Thorsten Bus 2026-03-30 16:39:33 +02:00
parent 1eb4f1642f
commit 07008f3f33

View file

@ -8,6 +8,7 @@ services:
container_name: pp-planer-app
restart: unless-stopped
working_dir: /app
command: sh -c "composer install --no-interaction && php-fpm"
environment:
- APP_ENV=${APP_ENV}
- APP_DEBUG=${APP_DEBUG}
@ -45,7 +46,7 @@ services:
- "5173:5173"
networks:
- pp-planer-network
command: npm run dev
command: sh -c "npm install && npm run dev"
# Optional: SQLite database service (for reference, SQLite runs in-process)
# For MySQL, uncomment and configure: