You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

314 B

Wasm attempt

build:

GOOS=js GOARCH=wasm go build -o public/main.wasm

Run webserver:

docker run -ti \
    --net=host  \
    -v "$(pwd)/mime.types":/etc/nginx/mime.types:ro \
    -v "$(pwd)"/nginx.conf:/etc/nginx/sites-enabled/default \
    -v "$(pwd):$(pwd)" \
    hugotty/nginx:latest