always freeze requirements with pip-compile to avoid unpleasant surprises

  • add packages to requirements.in
  • then create a new requirements.txt with docker-compose run --rm web pip-compile requirements.in > requirements.txt
  • docker-compose exec web pip install -r requirements.txt or just simply docker-compose build web