diff options
author | Alan Pearce | 2023-09-15 20:08:37 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-15 20:08:37 +0200 |
commit | 415f7ccd165fec95eb2451ad3f23d95a0c4d2143 (patch) | |
tree | f6aae9f8b6cb5182f4a54f2366f1dc427e7aad87 /Dockerfile | |
parent | 6474b1db0a4f8bdf3c83acd329cf822a9f45f563 (diff) | |
download | website-415f7ccd165fec95eb2451ad3f23d95a0c4d2143.tar.lz website-415f7ccd165fec95eb2451ad3f23d95a0c4d2143.tar.zst website-415f7ccd165fec95eb2451ad3f23d95a0c4d2143.zip |
Fix build
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 |