15 lines
326 B
Docker
15 lines
326 B
Docker
FROM ghcr.io/getzola/zola:v0.19.2 as builder
|
|
|
|
COPY content content
|
|
COPY static static
|
|
COPY themes themes
|
|
COPY templates templates
|
|
COPY config.toml config.toml
|
|
RUN [ "/bin/zola", "build" ]
|
|
|
|
|
|
|
|
FROM docker.io/svenstaro/miniserve:alpine
|
|
COPY --from=builder /public /data
|
|
|
|
CMD [ "--index", "index.html", "/data" ]
|