Skip to content

Railway Deployment #7e4101 fix: allow README.md in build context - #1

Open
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/fix-deploy-7e4101
Open

Railway Deployment #7e4101 fix: allow README.md in build context#1
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/fix-deploy-7e4101

Conversation

@railway-app

@railway-app railway-app Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Problem

The Docker build fails at COPY pyproject.toml README.md ./ because backend/.dockerignore contains *.md, which excludes README.md from the build context. The pyproject.toml declares readme = "README.md" for hatchling, so pip install . fails when the file is missing.

Solution

Added !README.md immediately after *.md in backend/.dockerignore. Docker's negation pattern re-includes README.md in the build context while still excluding all other Markdown files, allowing the COPY step and hatchling metadata read to succeed.

Changes

  • Modified backend/.dockerignore

Context

  • Deployment: #7e4101
  • Failed commit: d4672dd

Generated by Railway

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.

0 participants