Skip to content

mrjana/simpleweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

simpleweb

Build binary.

go build --ldflags '-linkmode external -extldflags "-static"'

Build image.

docker build .
docker tag xxx simpleweb

Run container.

docker run -d -p 5000:5000 simpleweb simpleweb

dchen@vm2:~/docker-1.13$ docker ps
CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS                       PORTS                    NAMES
1cddbb33ec6d        simpleweb	                 "simpleweb"              18 minutes ago      Up 18 minutes (healthy)      0.0.0.0:5000->5000/tcp   silly_mahavira

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages