Simple, clear, and working Dockerfile templates for Python applications based on Alpine image.
- Multi-stage
- Targets
- Minimum image size
Simple and intuitive installation and setup:
git clone https://github.com/orenlab/dockerfiles.git
Then open the Dockerfile
in your preferred editor and make the necessary changes to the paths
and dependencies
.
Dockerfile is configured to use two targets:
- For a
production
system
docker --target production build -t name/image:tag .
- For
development
system
docker --target development build -t name/image:tag .