8000 GitHub - TwiN/gatic: Very small static web server in Go
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TwiN/gatic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatic

Docker pulls

Very small static web server in Go.

Usage

All you have to do is create a Dockerfile that uses this image, and copy the static files you want to expose in the static folder of the Docker image:

FROM twinproduction/gatic
ADD static ./static

See the example folder for an example.

Docker

Building the Docker image is done as following:

docker build . -t gatic

You can then run the container with the following command:

docker run -p 8080:8080 --name gatic gatic

Running the tests

go test ./... -mod vendor -cover

About

Very small static web server in Go

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published
0