- Create virtual env
py -3 -m venv VENVNAME
- Enter venv
VENVNAME\Scripts\activate
- install dependencies
pip install -r requirements.txt
set FLASK_APP = api
(does not work for now it seems), tried adding .envpy -m flask run
- build
docker build --tag python-docker .
docker scan python-docker
docker run
leave venv venv\Scripts\deactivate
uninstall everything (except pip/setuptools/wheel) pip uninstall -r requirementst.txt -y
Python = 3.9.12 (stable) | 3.10.5 (seems ok)