Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split Docker Images #1105

Open
felixgabler opened this issue Aug 8, 2020 · 2 comments
Open

Split Docker Images #1105

felixgabler opened this issue Aug 8, 2020 · 2 comments

Comments

@felixgabler
Copy link
Collaborator

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/

@ss17454
Copy link

ss17454 commented Apr 11, 2024

were you able to create a docker image?

@felixgabler
Copy link
Collaborator Author

Unfortunately, we never got it to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants