updated docker and docker-compose
This commit is contained in:
parent
b5e17a658a
commit
818a84fc33
2 changed files with 7 additions and 3 deletions
|
@ -1,10 +1,9 @@
|
|||
FROM --platform=arm64 alpine:3.20.3 AS zola
|
||||
FROM ghcr.io/getzola/zola:v0.19.2 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
|
||||
FROM ghcr.io/static-web-server/static-web-server:2
|
||||
WORKDIR /
|
||||
COPY --from=zola /project/public /public
|
5
compose.yml
Normal file
5
compose.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
services:
|
||||
blog:
|
||||
build: .
|
||||
ports:
|
||||
- 37189:8000
|
Loading…
Reference in a new issue