Skip to content

Getting Started

Download and install the binary for your specific platform and then type

static-web-server --port 8787 --root ./my-public-dir

Or if you use Docker just try

docker run --rm -it -p 8787:80 joseluisq/static-web-server:2

Docker Tip

You can specify a Docker volume like -v $HOME/my-public-dir:/public to overwrite the default root directory. See Docker examples.