Flask
Flask is a web framework that allows developers to build lightweight web applications quickly and easily with Flask Libraries. Check out their official documentation here
Deploy a Flask app
In this tutorial, we advice creating a Dockerfile and using Docker as the build system
-
Fork/Clone this Hostless-Flask-Example repo from github
-
Click on 'Create New App'
-
Choose a suitable app name
-
Choose your github account
-
Choose the forked github repo/the cloned remote repo
-
Choose a build system
- 'Docker' - looks for a Dockerfile in the root of the project and build based on the instructions
-
The PORT environment variable is set by Hostless but also ensure your Dockerfile exposes PORT 8000
Sample configuration
Example project
An example project is hosted on https://hostless-flask-example.hostless.app/