mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
fix(railway): move .dockerignore to docker/ to unblock Nixpacks builds (#1336)
.dockerignore at repo root excludes scripts/, docs/, and e2e/ from the build context. Nixpacks (and/or Railway's build system) respects this file, causing all seed cron services to crash with "Cannot find module '/app/scripts/...'" at runtime. Moving .dockerignore into docker/ (alongside the Dockerfile) means: - Railway Nixpacks builds get the full repo (scripts/ included) - GHA Docker builds use context: . with file: docker/Dockerfile, and Docker only reads .dockerignore from the build context root, so docker/ placement is harmless for GHA
This commit is contained in:
Reference in New Issue
Block a user