feat: add dockerfile
This commit is contained in:
parent
3d146920cd
commit
7f73e3775e
2 changed files with 12 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM ghcr.io/getzola/zola:v0.21.0 AS zola
|
||||
|
||||
COPY . /project
|
||||
WORKDIR /project
|
||||
RUN ["zola", "build"]
|
||||
|
||||
FROM ghcr.io/static-web-server/static-web-server:2
|
||||
WORKDIR /
|
||||
COPY --from=zola /project/public /public
|
||||
Loading…
Add table
Add a link
Reference in a new issue