Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 511 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 511 Bytes

Go Dockerfile template

Dockerfile template for Golang applications.

Just run !

docker build -t go-dockerfile . && docker run -it -p 80:80 go-dockerfile

Choose Framework

By default, the selected framework is echo. To select other frameworks, just pass the framework name in docker build argument.

docker build --build-arg FRAMEWORK=fiber -t go-dockerfile . && docker run -it -p 80:80 go-dockerfile

Supported Frameworks

  • echo
  • fiber