a month ago
I’m attempting to deploy Langflow on Railway using a Dockerfile from my GitHub repository, but the service crashes at runtime with filesystem permission and port parsing errors.
Repo:
https://github.com/jeremy-edwards2021/langflow
Docker path:
https://github.com/jeremy-edwards2021/langflow/tree/main/docker
Dockerfile:/docker/render.Dockerfile
Errors seen in deploy logs:
Invalid value for '--port': '$PORT' is not a valid integer
PermissionError: [Errno 13] Permission denied: '/app/data/.cache'
Langflow attempts to write to /app/data/.cache/langflow, which appears non-writable in Railway’s runtime.
Start command:
langflow run --host 0.0.0.0 --port 7860
Could you advise the Railway-compatible fix (Dockerfile, writable path, volume, or PORT handling)
1 Replies
Status changed to Solved passos • about 1 month ago
Status changed to Awaiting Railway Response Railway • about 1 month ago
Status changed to Solved passos • about 1 month ago