Toolkit
Toolkit copied to clipboard
Split Docker Images
We should follow a slightly different approach when it comes to docker:
- our images on DockerHub should contain everything that needs to present on the machine in general (tools, DBs, sbt, ...). They should be agnostic to whether we run develop or production (e.g. no CHOKIDAR_USE_POLLING)
- we should have separate Dockerfiles in this repo as well which install more things according to the project files (e.g. install yarn dependencies with package.json)
Guides: https://nickjanetakis.com/blog/docker-tip-75-how-to-avoid-node-modules-in-your-volume-mounts https://mherman.org/blog/dockerizing-a-vue-app/
were you able to create a docker image?
Unfortunately, we never got it to work