feat: change dockerfile to use builder
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user