This is a repo for deploying a minimal but production-ready Python Flask application for deployment on Seenode.
This example demonstrates how to deploy a simple Flask app using Gunicorn as the WSGI server for a robust production environment.
View our guide on deploying flask apps on seenode in seconds.
- Connect Your Repository: Go to the Seenode dashboard, select New Web Service, and choose this Git repository.
- Confirm Settings: Seenode will detect the Python environment and suggest the correct commands.
- Build Command:
pip install -r requirements.txt
- Start Command:
gunicorn app:app --bind 0.0.0.0:80
- Build Command:
- Deploy: Click Create Web Service.
That's it! Your Flask app will be deployed and available at a public URL.
- Production-Ready: By using Gunicorn in the start command, you are running a production-grade server without any complex configuration.
- Port Binding: This example is configured to listen on port 80. Ensure your application code binds to this port, or whatever port you set when deploying your application.
- Seamless Scaling: Scale your service horizontally or vertically with a few clicks from the Seenode dashboard as your traffic grows.