changed dockerfile to arm64
This commit is contained in:
parent
5e4e21009b
commit
b5e17a658a
4 changed files with 18 additions and 5 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue