blog/Dockerfile
2022-09-09 08:26:52 +02:00

12 lines
No EOL
214 B
Docker

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