Skip to content

Railway Deployment #e0bee6 fix: copy logger.py into image - #48

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

mrwrite merged 1 commit into
mainfrom
railway/fix-deploy-e0bee6

Conversation

@railway-app

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

Copy link
Copy Markdown

Problem

The container crashed on startup with ModuleNotFoundError: No module named 'logger' because app/scheduler.py imports the root-level logger.py, which the Dockerfile never copied into the image. The healthcheck on /health/ready therefore failed.

Solution

Added COPY logger.py ./logger.py to the Dockerfile after COPY app ./app, so the module is available in /srv/app and resolves when uvicorn starts.

Changes

  • Modified Dockerfile

Context

  • Deployment: #e0bee6
  • Failed commit: 631bf5c

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:10pm UTC

@mrwrite
mrwrite merged commit 1524dce into main Sep 30, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 70fddca5 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