A small Flask app ("Split the bill") used in the Light Cloud tutorial A Flask app in production, without writing a Dockerfile.
flowchart LR
push[git push] --> build[Light Cloud build]
build -->|.python-version, requirements.txt| image[Python image with Flask and gunicorn]
image -->|gunicorn app:app on PORT| app[Flask app]
app --> page[HTML form with Jinja and static CSS]
app --> api[JSON at /api/split]
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
flask --app app run --port 8000CURRENCY sets the currency code shown after amounts (default USD).