blog/Dockerfile

10 lines
236 B
Text
Raw Normal View History

2024-10-18 08:50:32 +02:00
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