Commit graph

7 commits

Author SHA1 Message Date
Thorsten Bus 0a345aa3b2 fix(docker): remove Node.js from production stage; add public-build asset sync pattern
- Remove Node.js from production image (was violating Must NOT Have constraint)
- Add 'RUN cp -r /app/public /app/public-build' in build stage after npm run build
- Replace 'npm run build' in boot-container.sh with 'cp -r /app/public-build/*'
- Add chown www-data for SQLite DB file in init-app.sh
- Remove git from production stage package list (not in plan spec)
- Update ENTRYPOINT comment to reflect new asset sync approach
2026-05-11 13:37:58 +02:00
Thorsten Bus 00bffab74f fix(docker): build Vite assets at boot instead of syncing from image 2026-03-31 11:28:43 +02:00
Thorsten Bus 28b2c61e36 feat(docker): add multi-stage Dockerfile with PHP-FPM on Debian bookworm 2026-03-31 09:17:37 +02:00
Thorsten Bus 04ef0b08c8 refactor: entrypoint with WWWUSER/WWWGROUP for FPM UID/GID mapping
- Entrypoint remaps www-data to host UID/GID via WWWUSER/WWWGROUP env vars
- Moves composer install, storage setup, migrate into entrypoint
- Removes inline command from docker-compose
- Defaults to 1000:1000, configurable via .env
2026-03-30 22:37:02 +02:00
Thorsten Bus db15a71378 fix: pipe PHP/FPM errors to stderr for docker compose logs 2026-03-30 19:06:45 +02:00
Thorsten Bus 6c7c6c076d fix: Docker FPM on port 9000, proper healthcheck, runtime dep install
- Slim Dockerfile to env-only (deps install at container start via volume mount)
- Add FastCGI ping healthcheck instead of broken HTTP curl
- App startup: composer install + migrate + php-fpm
- Remove obsolete docker-compose version key
2026-03-30 17:29:32 +02:00
Thorsten Bus 1eb4f1642f rename cts-work to pp-planer, move Dockerfile to build/, optimize dev scripts
- Rename all cts-work references to pp-planer (valet, sanctum, playwright, e2e, docs)
- Fix docker-compose build context to use project root with build/Dockerfile
- Add .dockerignore to exclude unnecessary files from Docker build
- start_dev.sh: stale PID cleanup, dependency checks, APP_KEY check, process health verification
- stop_dev.sh: fix set -e crash on arithmetic, report already-dead processes, idempotent exit
2026-03-30 16:00:02 +02:00
Renamed from Dockerfile (Browse further)