Skip to content

Railway Deployment #676e35 fix: copy config.py into image - #49

Merged
mrwrite merged 1 commit into
mainfrom
railway/fix-deploy-676e35
Sep 30, 2026
Merged

mrwrite merged 1 commit into
mainfrom
railway/fix-deploy-676e35

Conversation

@railway-app

@railway-app railway-app Bot commented Sep 30, 2026

Copy link
Copy Markdown

Problem

The deployment fails its healthcheck because uvicorn exits on import with ModuleNotFoundError: No module named 'config'. The Dockerfile never copies the root-level config.py into /srv/app, and app/backtesting.py imports it.

Solution

Added COPY config.py ./config.py to the Dockerfile so the module sits in the WORKDIR on sys.path. The app can now import it and start.

Changes

  • Modified Dockerfile

Context

  • Deployment: #676e35
  • Failed commit: 1524dce

Generated by Railway

@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
topstep-mvp-bot Ready Ready Preview Sep 30, 2026 12:22pm UTC

@mrwrite
mrwrite merged commit 6339c12 into main Sep 30, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1b3f93cb Deployed Sep 30, 2026 by vercel[bot]
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