Langflow Docker deployment crashes on Railway (PORT + filesystem permissions)
jeremy-edwards2021
PROOP

5 months 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)

Solved$10 Bounty

1 Replies

Status changed to Solved passos 5 months ago


5 months ago

Closing as a duplicate, please see your other help thread.


Status changed to Awaiting Railway Response Railway 5 months ago


Status changed to Solved passos 5 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...