Launch
Flask with
Launch a new Flask project and you will instantly have access to a development environment. No sign-up required.
Launch a new Flask project and you will instantly have access to a development environment. No sign-up required.
Diploi
Choose some optional add-ons to launch with Flask
Full guide at https://diploi.com/blog/hosting_flask_apps
uv run flask --app src/main.py run --host=0.0.0.0 --port=8000 --debug
This will:
Builds a production-ready image. During the build, dependencies are installed with uv sync or uv pip install. When the container starts, it runs:
uv run --frozen gunicorn -w 4 -b 0.0.0.0:8000 src.main:app
This uses the Gunicorn to serve your application on port 8000.
Diploi is the single SaaS service for managing, developing and hosting your full application.