FROM alpine:edge AS builder RUN apk add zola RUN mkdir /src WORKDIR /src COPY . /src RUN zola build # -- FROM nginx:1.25.3-alpine COPY --from=builder /src/public /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf