blog/Dockerfile
2022-12-24 10:10:41 +01:00

12 lines
No EOL
238 B
Docker

FROM docker.io/alpine:latest as builder
WORKDIR /src
COPY . /src/
RUN apk add -U hugo && \
hugo --minify --environment production --config config.toml
FROM docker.io/caddy:2-alpine
COPY --from=builder /src/public /usr/share/caddy