From df71eacff8be36650e421211b779264c1cd95fda Mon Sep 17 00:00:00 2001 From: WrenIX Date: Sun, 20 Aug 2023 05:37:30 +0200 Subject: [PATCH] fix: add containerfile --- Containerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Containerfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..b78764e --- /dev/null +++ b/Containerfile @@ -0,0 +1,15 @@ +FROM ghcr.io/getzola/zola:v0.17.2 as builder + +COPY content content +COPY static static +COPY themes themes +COPY templates templates +COPY config.toml config.toml +RUN [ "/bin/zola", "build" ] + + + +FROM docker.io/svenstaro/miniserve:alpine +COPY --from=builder /public /data + +CMD [ "--index", "index.html", "/data" ] \ No newline at end of file