diff --git a/Dockerfile b/Dockerfile index dbe8369..126dcc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ -FROM --platform=arm64 alpine:3.20.3 AS zola +FROM ghcr.io/getzola/zola:v0.19.2 as zola -RUN apk add zola COPY . /project WORKDIR /project RUN ["zola", "build"] -FROM --platform=arm64 ghcr.io/static-web-server/static-web-server:2 +FROM ghcr.io/static-web-server/static-web-server:2 WORKDIR / COPY --from=zola /project/public /public \ No newline at end of file diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..3273a4b --- /dev/null +++ b/compose.yml @@ -0,0 +1,5 @@ +services: + blog: + build: . + ports: + - 37189:8000 \ No newline at end of file