Skip to content

Stop excluding scripts/ from the Docker build context - #4

Merged
julianam-w merged 1 commit into
mainfrom
fix/dockerignore-scripts
Aug 3, 2026
Merged

Stop excluding scripts/ from the Docker build context#4
julianam-w merged 1 commit into
mainfrom
fix/dockerignore-scripts

Conversation

@julianam-w

Copy link
Copy Markdown
Collaborator

Follow-up to #3. That PR made the Dockerfile COPY scripts/ ./scripts/ (needed by the new Railway cron service), but .dockerignore still excluded scripts/ from the build context — the fix for this was pushed to the PR branch after it had already been merged, so it never landed on main. Railway build failed with:

failed to compute cache key: ... "/scripts": not found

Fix

Drop the scripts/ line from .dockerignore so the directory is available to COPY.

🤖 Generated with Claude Code

The cron service's `COPY scripts/ ./scripts/` failed because .dockerignore
excluded scripts/, so it was absent from the build context ("/scripts: not
found"). Drop the exclusion now that the image needs it for scripts/sync.py.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@julianam-w
julianam-w merged commit cd442da into main Aug 3, 2026
@julianam-w
julianam-w deleted the fix/dockerignore-scripts branch August 3, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant