Skip to content

fix: update Dockerfile to use production.txt for deployment#30

Merged
emidiovaleretto merged 1 commit into
mainfrom
fix/deploy-production
Jun 11, 2026
Merged

fix: update Dockerfile to use production.txt for deployment#30
emidiovaleretto merged 1 commit into
mainfrom
fix/deploy-production

Conversation

@emidiovaleretto

Copy link
Copy Markdown
Owner

What

Changes the Dockerfile to install dependencies from requirements/production.txt instead of requirements/development.txt.

Why

The deployment was failing because gunicorn is required to run the container in production. The container was being built with development.txt, so gunicorn was missing and the deploy broke on startup.

Since production.txt inherits from base.txt, the container still gets all base dependencies, plus gunicorn, without the dev-only test tools.

How to verify

  • CI passes (tests still run against development.txt in the workflow)
  • After merge, the Railway deploy builds with gunicorn present and the
    app starts without the previous startup error

@emidiovaleretto emidiovaleretto merged commit 3163a1d into main Jun 11, 2026
2 checks passed
@emidiovaleretto emidiovaleretto deleted the fix/deploy-production branch June 11, 2026 10:30
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