vbrandl.net/Dockerfile
Valentin Brandl 2923042243
All checks were successful
continuous-integration/drone/push Build is passing
Update
2024-07-14 16:39:16 +02:00

12 lines
286 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
COPY Caddyfile /etc/caddy/Caddyfile
COPY ./.well-known/ /data/.well-known
COPY --from=build /usr/src/build/public /data