kemokemo / web

A simplest web service to serve static files. :tada:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

web

A simplest web service to serve static files. 🎉

Usage

build manually

## build and execute.
go build && ./web

## open 'http://localhost:8080' via browser

docker run

This tool serves the /app/public directory in the container. Please bind your public directory.

docker run --mount type=bind,source="$(pwd)"/public,target=/app/public,readonly -d -p 8080:8080 kemokemo/web:v0.0.1

About

A simplest web service to serve static files. :tada:


Languages

Language:Go 38.5%Language:HTML 31.5%Language:Dockerfile 30.0%