How to provide the right entrypoint command for local app in CLI?

redtrib3TRIAL

6 months ago

I created an Flask APP in railway that has an entrypoint file that starts up a gunicorn server.
on railway up command, i get the following output

└──╼ $railway up
> Select a service to deploy to app123
  Indexed
  Compressed [====================] 100%
  Uploaded                                                                                                                               Build Logs: https://railway.com/project/8e531fe4-a13b-4eec-9e2c-xxxxx/service/1b69xxxx-3f1f-4090-bb5c-88f097780309?id=5d0f4db8-f30c-4a84xxxcf2fbfac8&

[Region: us-west1]
==============
Using Nixpacks
==============

context: fcabb26dd866a605bcac2xxxxbca7d4a6ae
Nixpacks build failed


╔══════════════════════════════ Nixpacks v1.29.1 ══════════════════════════════╗
║ setup      │ python3, gcc                                                    ║
║──────────────────────────────────────────────────────────────────────────────║
║ install    │ python -m venv --copies /opt/venv && . /opt/venv/bin/activate   ║
║            │ && pip install -r requirements.txt                              ║
║──────────────────────────────────────────────────────────────────────────────║
║ start      │                                                                 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Error: No start command could be found

How do i provide the start command, i could not find such option in the CLI? and also i added the custom start command in project setting in GUI, but it doesnt seem to have any effect.

Solved

0 Replies

redtrib3TRIAL

6 months ago

nvm


6 months ago

did you find the solution?


6 months ago

!s


Status changed to Solved brody 6 months ago