vbrandl.net/Dockerfile
Valentin Brandl cbb05e22aa
All checks were successful
Publish / Publish Docker Image (push) Successful in 24s
Tag caddy image
2024-08-11 18:24:55 +02:00

12 lines
293 B
Docker

FROM klakegg/hugo:alpine as build
WORKDIR /usr/src/build
COPY ./ ./
RUN apk --no-cache add --update make
RUN hugo && \
make -C public/ -f ../Makefile
FROM caddy:latest
COPY Caddyfile /etc/caddy/Caddyfile
COPY ./.well-known/ /data/.well-known
COPY --from=build /usr/src/build/public /data