ci: add runner config
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user