Add container build and CI

d522ae8 · gmorell · 2026-08-27 22:08

1 files +3 -1
Message
{commit_body(@commit)}

Files changed

modified Dockerfile
+3 −1
@@ -5,7 +5,9 @@ FROM ghcr.io/getzola/zola:v0.23.3 AS builder
5 5
6 6 COPY . /project
7 7 WORKDIR /project
8 −RUN ["zola", "build"]
8 +# The 0.23 image is a scratch-style build: the binary is /zola (the image
9 +# ENTRYPOINT) and is not on PATH, so it has to be called by absolute path.
10 +RUN ["/zola", "build"]
9 11
10 12 FROM ghcr.io/static-web-server/static-web-server:2
11 13 WORKDIR /

Parents: d4b24c3