A go application has been deployed to docker container using an image configuration based on the requirements.
To get a local copy up and running follow these simple steps.
- Docker
- Clone the repo
git clone https://github.com/oasiscse/go-docker-deployment.git
- Go to project directory and build image -
docker build . -t go-docker-dep
- To run the image (a running image is container)
docker run -p 3000:3000 go-docker-dep
- Go to http://localhost:3000 (YourHostIP:3000)
Response
{"Greetings" : "You are awesome!"}
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Open a Pull Request
Distributed under the MIT License.
Tweet me - @ihumaunkabir
Find me on ihumaun.com