Skip to content

Basic structure to develop a golang app and build/run it on docker

Notifications You must be signed in to change notification settings

jscarton/docker-go-base-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

docker-go-base-project

This is the most basic way to build and run a go app on docker. The mypackage folder was placed to show how to create custom packages and use them in your app.

How to build image

Just open a shell window and navigate to the project's folder and then run:

docker build -t your-image-name:tag .

How to run your app into a container

run

docker run your-image-name

Credits

this was build based on this post: click

About

Basic structure to develop a golang app and build/run it on docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published