website/Makefile

5 lines
281 B
Makefile

build:
docker run -u "$(id -u):$(id -g)" -v ${PWD}:/app --workdir /app ghcr.io/getzola/zola:v0.17.1 build
serve:
docker run -u "$(id -u):$(id -g)" -v ${PWD}:/app --workdir /app -p 1111:1111 ghcr.io/getzola/zola:v0.17.1 serve --interface 0.0.0.0 --port 1111 --base-url localhost