Skip to content

Railway Deployment #34763c fix: add daphne to requirements.txt#1

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

Railway Deployment #34763c fix: add daphne to requirements.txt#1
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/fix-deploy-34763c

Conversation

@railway-app

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

Copy link
Copy Markdown

Problem

The deployment fails at CREATE_CONTAINER with "The executable 'daphne' could not be found." The Dockerfile CMD uses daphne as the ASGI server, but daphne was never listed in requirements.txt, so it was never installed during the Docker build.

Solution

Added daphne==4.1.2 to requirements.txt so it is installed via pip install -r requirements.txt during the Docker build, making the daphne executable available at runtime when the CMD instruction runs. Version 4.1.2 is the latest stable release compatible with Django 5.1 and channels 4.x.

Changes

  • Modified requirements.txt

Context

  • Deployment: #34763c
  • Failed commit: 29cdb9b

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