This is defined for Python 3 apps. But, you can change it to run Python 2 by changing the first line of the Dockerfile.
- Copy these files into the project directory
- Update
run.sh
with the commmand(s) to run. - Build the docker image:
docker build -t project-name .
- Run it!
docker run -it --rm --name project-name-running project-name
docker run -it -p 11211:11211 --name mc memcached
anddocker run -it --link mc -v $(pwd):/app -p 8000:8000 python:3 bash
has been helpful for me here too.