wiki/docker/serve.go
Ada b8bf9de3ec
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Docker support & image
2024-02-17 22:02:11 +01:00

9 lines
155 B
Go

package main
import "net/http"
func main() {
fs := http.FileServer(http.Dir("./static"))
http.Handle("GET /", fs)
http.ListenAndServe(":3000", nil)
}