From 415f7ccd165fec95eb2451ad3f23d95a0c4d2143 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Sep 2023 20:08:37 +0200 Subject: Fix build --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Dockerfile') 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 -- cgit 1.4.1