updated docker and docker-compose

This commit is contained in:
Erik Grobecker 2024-12-17 08:11:43 +01:00
parent b5e17a658a
commit 818a84fc33
Signed by: Erik
GPG key ID: 80D020D0ABBD3FB2
2 changed files with 7 additions and 3 deletions

View file

@ -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 COPY . /project
WORKDIR /project WORKDIR /project
RUN ["zola", "build"] 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 / WORKDIR /
COPY --from=zola /project/public /public COPY --from=zola /project/public /public

5
compose.yml Normal file
View file

@ -0,0 +1,5 @@
services:
blog:
build: .
ports:
- 37189:8000