fix: add containerfile
This commit is contained in:
parent
7c25af76d6
commit
df71eacff8
1 changed files with 15 additions and 0 deletions
15
Containerfile
Normal file
15
Containerfile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
FROM ghcr.io/getzola/zola:v0.17.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" ]
|
Loading…
Add table
Reference in a new issue