Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heyman/python-base-docker
Base Docker image for Python projects
https://github.com/heyman/python-base-docker
Last synced: 1 day ago
JSON representation
Base Docker image for Python projects
- Host: GitHub
- URL: https://github.com/heyman/python-base-docker
- Owner: heyman
- Created: 2015-06-23T14:09:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-07T11:35:07.000Z (9 months ago)
- Last Synced: 2024-02-07T12:50:45.254Z (9 months ago)
- Language: Dockerfile
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Base Python Docker image
========================Docker image intended to be used as a base image for python projects.
When building a child image of this base image
----------------------------------------------* Build context directory is put under /home/app/app
* Creates a virtualenv in /home/app/env from requirements.txt in the root of the build context
* If a package.json i present in the root context it (together with any package-lock.json) will
be copied to /home/app/app and npm install will be runWhen running the built child image
----------------------------------* If anything is mounted in /app, whatever it is will replace /home/app/app (this allows
updating of the application code without having to rebuild, push & pull the whole image).