mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
* feat: add example for starlette.io * feat: link additional documentation * feat: dev hot reload docker command
Python Starlette Example
This is a Starlette app that serves a simple JSON response.
✨ Features
- Python
- Starlette
💁♀️ How to use
- 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