Skip to content

Commit 345ac50

Browse files
mpstatonclaude
andcommitted
chore(deploy): add .railwayignore — slim the Railway upload to source only
The MCP/CLI tarball upload was 294MB (413 Payload Too Large) because it swept in node_modules (542M), the clients/ submodules (341M LFS PDFs + corpus), and .git. The Dockerfile installs deps and builds inside the image, so the build context only needs source. Excludes node_modules/dist/.git/clients/secrets/scratch. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018UYTYu4MAFZ7iyr2VTo2kq
1 parent c3dea2d commit 345ac50

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.railwayignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Keep the Railway upload tarball to SOURCE only — the Dockerfile installs deps
2+
# and builds inside the image, so none of this belongs in the build context.
3+
.git
4+
node_modules
5+
**/node_modules
6+
**/dist
7+
**/.astro
8+
**/.turbo
9+
10+
# Client submodules (corpus + LFS PDFs) — only content-ingest's volume needs
11+
# these, never a frontend/service build.
12+
clients
13+
14+
# Local secrets + scratch — build args come from Railway service variables.
15+
.env
16+
.env.*
17+
*.log
18+
history.txt
19+
scratchpad
20+
ogimage-archive
21+
ideogram-candidates

0 commit comments

Comments
 (0)