GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ihumaunkabir/go-docker-deployment: A go application has been deployed to docker container using an image configuration based on the requirements.

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
api
api
 
 
routes
routes
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
go-docker-deployment.exe
go-docker-deployment.exe
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 

Repository files navigation

Deploy go application in Docker Container

A go application has been deployed to docker container using an image configuration based on the requirements.

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • Docker

Installation

  1. Clone the repo
git clone https://github.com/oasiscse/go-docker-deployment.git
  1. Go to project directory and build image -
docker build . -t go-docker-dep
  1. To run the image (a running image is container)
docker run -p 3000:3000 go-docker-dep

Test the server is running

  1. Go to http://localhost:3000 (YourHostIP:3000)

Response

{"Greetings" : "You are awesome!"}

Contributing

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.

  1. Fork the Project
  2. Open a Pull Request

License

Distributed under the MIT License.

Contact

Tweet me - @ihumaunkabir
Find me on ihumaun.com

About

A go application has been deployed to docker container using an image configuration based on the requirements.

Topics

dockerdocker-containerdocker-imagegoapplicationgolang

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.