Hi everyone,
today I want to show how to create the small docker image for deploying the application.
I've an application which consists of a backend(go application) and angular based front-end application. So let's create the Dockerfile and step by step fill it with commands.
I started with frontend
Next I added the golang builder
For avoiding, the certificate signed by unknown authority error during HTTP request I add trusted certificates
(details more here Stackoverflow issue)
Finally, copy all items to the end image
I keep my container on the quay.io so everyone can see logs and pull the container
All Dockerfile listing here Github Gist
Thanks everyone !
today I want to show how to create the small docker image for deploying the application.
I've an application which consists of a backend(go application) and angular based front-end application. So let's create the Dockerfile and step by step fill it with commands.
I started with frontend
Next I added the golang builder
For avoiding, the certificate signed by unknown authority error during HTTP request I add trusted certificates
(details more here Stackoverflow issue)
Finally, copy all items to the end image
I keep my container on the quay.io so everyone can see logs and pull the container
docker pull quay.io/vdzundza/shoper
All Dockerfile listing here Github Gist
Thanks everyone !
Comments