python -m venv ecom
$source ecom/bin/activate
(ecom) bihan@Bihans-MacBook-Pro ecommerce-lab %
deactivate
pip install -r requirements.txt
pip show gunicorn pip show flask
$ gunicorn --bind 0.0.0.0:5001 market:app
$ gunicorn --reload --bind 0.0.0.0:5001 market:app
$ python market.py #
$ gunicorn --workers 9 --threads 2 --bind 0.0.0.0:5001 market:app $ ps aux | grep gunicorn
$docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
docker system prune -a --volumes
docker build -t flask_app_image .
docker run -d -p 5001:5001 --name flask_app_container flask_app_image
docker stop flask_app_container
docker logs -f flask_app_container
docker rm flask_app_container