ci: add runner config

This commit is contained in:
2025-08-17 13:20:25 +02:00
parent 363e8aafac
commit 998e955ec8
2 changed files with 80 additions and 1 deletions

View File

@@ -1,6 +1,13 @@
FROM golang:alpine as builder
WORKDIR /app
COPY . .
RUN go install github.com/gohugoio/hugo@latest
RUN hugo --minify
FROM nginx:alpine
COPY ./public /usr/share/nginx/html
COPY --from=builder /app/public /usr/share/nginx/html
EXPOSE 80