blog/Dockerfile

12 lines
214 B
Text
Raw Normal View History

2022-09-08 20:55:59 +00:00
FROM docker.io/alpine:latest as builder
WORKDIR /src
COPY . ./
RUN apk add -U hugo && \
hugo --minify --environment production
FROM docker.io/caddy:2-alpine
COPY --from=builder /src/public /usr/share/caddy