rconjoe / provana-mono

R.I.P.
https://www.crunchbase.com/organization/provanagg
1 stars 0 forks source link

dockerizing environment #102

Open rconjoe opened 3 years ago

rconjoe commented 3 years ago

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 commented 3 years ago

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.