From ad64ce5c9d640846350f3a789ef3b73169540c11 Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 17 Oct 2024 11:04:03 +0000 Subject: [PATCH] added dockerfile Signed-off-by: Erik --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..85c5539 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM ghcr.io/getzola/zola:v0.17.1 as zola + +COPY . /project +WORKDIR /project +RUN ["zola", "build"] + +FROM ghcr.io/static-web-server/static-web-server:2 +WORKDIR / +COPY --from=zola /project/public /public \ No newline at end of file