Files
romm/docker
Sam Dornan 983ee142fb refactor(docker): simplify the production Dockerfile (#5376)
- Drop the unused backend-dev-build, dev-slim and dev-full stages. No
  workflow or compose file targets them (the dev image is ./Dockerfile),
  and because dev-full was the last stage, build_local_image.sh (no
  --target) was building an image with the dev extras. full-image is now
  the default target.
- Fetch argosy-sigil, mod_zip and nginx with BuildKit's git ADD (which
  also pulls submodules) instead of git clone/checkout, as the gme stage
  already does, so those stages no longer install git. RALibretro keeps
  its clone: its Makefile builds RA_BuildVer.h from .git/HEAD and
  `git describe --tags`, which ADD strips.
- Hardcode /var/www/html in place of WEBSERVER_FOLDER: nothing sets the
  ARG, and the entrypoint and nginx template hardcode the path anyway.
- Stop copying the CPython headers into the runtime image; nothing
  compiles there.
- Remove a no-op chmod and a mislabelled comment.


Claude-Session: https://claude.ai/code/session_01NH5s4fzfhupfVnuw2VKdog

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 13:30:02 -05:00
..
2026-04-12 09:35:34 -04:00