| title | Starlette | ||
|---|---|---|---|
| description | A Starlette app with a simple JSON response | ||
| tags |
|
This is a Starlette app that serves a simple JSON response.
- Python
- Starlette
- Build the docker image
docker build -t railway . - Start the container
docker run -d --name railway-test -p 80:80 railway - For auto restart in development
docker run -d -p 80:80 -v $(pwd):/app railway /start-reload.sh
Note: Advance users may refer to this