Automatische Builds

This commit is contained in:
2026-02-01 20:40:53 +01:00
parent 5ac790cddd
commit 186680eaaf
5 changed files with 63 additions and 81 deletions

View File

@@ -1,2 +1,8 @@
FROM floryn90/hugo:0.155.1-alpine AS builder
WORKDIR /src
USER root
COPY hugo /src
RUN hugo --minify
FROM nginx:1.28.0-alpine-slim
COPY hugo/public /usr/share/nginx/html
COPY --from=builder /src/public /usr/share/nginx/html