This is the tool used to easily select requirements from standards like the ASVS
To create and start a Python virtual environment, you can use the venv module that comes with Python 3. This module creates a self-contained environment that can have its own independent set of installed Python packages.
First, navigate to your project directory (or wherever you want the virtual environment to be created):
cd /path/to/your/project
python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt
python3 app.py
To exit the virtual environment when you're done, you can use the deactivate command:
deactivate
docker build -t my-flask-app .
docker run -p 5000:5000 my-flask-app