$ serve -h
Usage of serve:
-p int
port on which the server will listen (default 1313)
-q run server quietly
-r string
root document which the server will serve (default ".")
-s serve single page application
-v print current version
Example
$ docker run -it --rm -v /tmp/foo:/app/src -p 1313:1313 ghcr.io/clavinjune/serve:latest
2021/11/04 06:32:19 listen and server /app/src/ at http://0.0.0.0:1313
2021/11/04 06:32:23 / 46.107µs
2021/11/04 06:32:23 /favicon.ico 78.868µs
2021/11/04 06:32:40 /index.html 6.642µs
2021/11/04 06:32:40 / 31.058µs
2021/11/04 06:32:44 /foo/ 60.574µs