2 ms·
FYI there are some really cool ways that you can recycle and re-use dockerfiles with ONBUILD commands. We actually do that for some of our containers as well, s
by bacongobbler 12y ago
FYI there are some really cool ways that you can recycle and re-use dockerfiles with ONBUILD commands. We actually do that for some of our containers as well, such as when you have multiple python projects. https://github.com/deis/dockerfiles/blob/master/python-runtime/Dockerfile https://github.com/deis/dockerfiles/blob/master/python-runti...
Just add "FROM deis/python-runtime" to the top of your project and declare a CMD or an ENTRYPOINT in your Dockerfile and suddenly you have a python project installed and ready to go.
- opendais 12y agoThanks but 'change some config files' generally means modifying the conf/ tree I import all my configurations from. [e.g. Nginx domain name, requirements.txt] It doesn't mean modifying the Dockerfile.