Skip to content

HamidullahMuslih/goapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple go app which outputs the container ID (host name) and the counter for accessing it.

1- you can run the Docker file. It will build the image and containerize the go application.

2- Run the container and you can access the go app on http://<containerIP>:8888.

3- you can compile the go file by running RUN CGO_ENABLED=0 GOOS=linux go build -o simple-webpage . in the current directory in your local machine. After that you can run the compiled by ./simple-webpage command.
a- check http://localhost:8888

About

This repo have go app with docker fille

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published