docker-compose up --build
# Create virtual environment
python -m venv .venv
# Activate virtual environment
# On Windows:
.venv\Scripts\activate
# On Unix or MacOS:
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Create requirements.txt (when adding new packages)
pip freeze > requirements.txt
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
!!! IMPORTANT !!!
Only single gunicorn worker is supported at the moment.
gunicorn -c gunicorn.conf.py app:app