Python Flask Deployment
tklein1801
PROOP

2 years ago

Hi, it's my first time doing something with Python and I wanna deploy my flask backend but I'm having some trouble running it on Railway.

Here are some infos

{
    "$schema": "https://railway.app/railway.schema.json",
    "build": {
        "builder": "NIXPACKS"
    },
    "deploy": {
        "startCommand": "gunicorn --chdir src wsgi:app",
        "restartPolicyType": "ON_FAILURE",
        "restartPolicyMaxRetries": 10
    }
}
from app import app

if __name__ == "__main__":
    app.run()

if you need anything feel free to text me 🙂

4 Replies

tklein1801
PROOP

2 years ago

a35820a6-1b37-4177-96c4-4596a56ec62


tklein1801
PROOP

2 years ago


2 years ago

what troubles are you having?


2 years ago

please use the bookmarklet -


Welcome!

Sign in to your Railway account to join the conversation.

Loading...