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

dockerizing environment #102

Open
rconjoe opened this issue Nov 26, 2021 · 1 comment
Open

dockerizing environment #102

rconjoe opened this issue Nov 26, 2021 · 1 comment

Comments

@rconjoe
Copy link
Owner

rconjoe commented Nov 26, 2021

the vue app is simple to dockerize with a node image and set up as a service in a docker-compose. it still has hmr via a shared volume.

the services that need to run alongside the vue2 build mostly require a firebase-tools image, which is likely best put together with this dockerfile https://github.com/GoogleCloudPlatform/cloud-builders-community/blob/master/firebase/Dockerfile

while it was build for cloud build, it could be used also in a local environment by making sure a valid ci token gets passed into the container on startup, doesn't really matter whose this is either

the goal is to get every program that needs to run inside the development environment to run inside of a docker composition. this would be a dev container, which can then be edited for CI container to run on cloud build, which can then be edited for production to run in app engine

@rconjoe
Copy link
Owner Author

rconjoe commented Nov 28, 2021

Everything is nicely containerized now, something that needs to be resolved is the absolute filepaths in the docker-compose that create the volumes to bind local code folders outside the container for HMR.

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

1 participant