python -m venv flask
source flask/bin/activate
pip install --no-cache-dir -r requirements.txt
cd flask-app
source flask/bin/activate
export FLASK_RUN_PORT=8080
flask run --host=0.0.0.0
- Flask Quickstart: https://flask.palletsprojects.com/en/2.0.x/quickstart/
- requirements.txt file format: https://pip.pypa.io/en/stable/reference/requirements-file-format/
- Dockerfile reference: https://docs.docker.com/engine/reference/builder/
- docker-compose.yml reference: https://docs.docker.com/compose/
- Flask templates: https://flask.palletsprojects.com/en/2.0.x/tutorial/templates/
- "Sending form data" MDN Web Docs: https://developer.mozilla.org/en-US/docs/Learn/Forms/Sending_and_retrieving_form_data