golang app - running it on docker image.
This is a very simple approach to push your app into a docker image. First you need your Dockerfile which does all the hardwork for you, as shown below :-
Sample code can be found here.
If you want to run on kubernetes, the following yaml describe this deployment. Save this into a file called muxApp.yaml and then run kubectl apply -f deployment.yaml.
This is the service.yaml file by running "kubectl apply -f appservice.yaml"