Toolkit icon indicating copy to clipboard operation
Toolkit copied to clipboard

Split Docker Images

Open felixgabler opened this issue 4 years ago • 2 comments

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/

felixgabler avatar Aug 08 '20 19:08 felixgabler

were you able to create a docker image?

ss17454 avatar Apr 11 '24 18:04 ss17454

Unfortunately, we never got it to work

felixgabler avatar Apr 11 '24 19:04 felixgabler