diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 79533e9..5e48523 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,11 @@ FROM ghcr.io/getzola/zola:v${ZOLA_VERSION} as ssg WORKDIR /web -COPY --link website ./ +COPY --link config.toml config.toml +COPY --link themes themes +COPY --link templates templates +COPY --link static static +COPY --link content content RUN [ "zola", "build", "--force" ] @@ -43,6 +47,7 @@ RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/a RUN apk add --no-cache prettier@testing make fd brotli gzip zstd +COPY --link Makefile ./ COPY --from=ssg /web ./ RUN make -j4 format compress |