Commit Graph
1 Commits
Author SHA1 Message Date
william e94d23b1bf Fix projects/ volume ownership on container start
Build and deploy / deploy (push) Successful in 8s
Build and deploy / build-and-push (push) Successful in 49s
The named Docker volume mounted at /app/projects is created by Docker
as root before the container starts, so the image's build-time chown
never applies to it. A root-owned volume made the app (running as the
non-root forge user) unable to write new game folders in production.

Add an entrypoint that chowns /app/projects to forge at each startup,
then drops privileges before exec'ing gunicorn.
2026-08-23 08:47:10 +02:00