Skip to content

jxjftw/baseline-golang-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baseline-golang-app

1. Build the Docker images

docker build --target development -t baseline-golang-app:dev -f Dockerfile . --progress=plain
docker build --target production  -t baseline-golang-app:prod -f Dockerfile . --progress=plain

2. Run the Docker images

docker run -d --name baseline-golang-app-dev -p 1323:1323 baseline-golang-app:dev
docker run -d --name baseline-golang-app-prod -p 1323:1323 baseline-golang-app:prod

3. Test the application

curl http://localhost:1323

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 72.9%
  • Dockerfile 27.1%