This commit is contained in:
alexander
2026-01-22 21:14:16 +01:00
parent 8a26344e20
commit 24d0a9216a
21 changed files with 778 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM python:3.11 AS build
WORKDIR /workdir
COPY . .
RUN pip install --no-cache-dir -r ./requirements.txt
RUN python3 src/build.py
FROM caddy:latest AS serve
COPY --from=build /workdir/out/ /www/
COPY --from=build /workdir/Caddyfile /etc/caddy/Caddyfile