blog/Dockerfile

10 lines
No EOL
236 B
Docker

FROM --platform=arm64 alpine:3.20.3 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
WORKDIR /
COPY --from=zola /project/public /public