feat: change dockerfile to use builder

This commit is contained in:
2025-08-18 12:14:35 +02:00
parent 3910ee5e94
commit b4834547f0
2 changed files with 1 additions and 73 deletions

View File

@@ -1,8 +1,7 @@
FROM golang:alpine as builder
FROM git.jokresner.de/johannes/personal-blog-builder:latest as builder
WORKDIR /app
COPY . .
RUN go install github.com/gohugoio/hugo@latest
RUN hugo --minify
FROM nginx:alpine