I’ve had to set these up so many times that having a starter .tar.gz
will help:
docker-python-starter.tar.gz
Contents
Dockerfile
docker-compose.yml
requirements.txt
Commands
Shell in with service ports:
docker-compose run --rm --service-ports app /bin/bash