2024-07-14 16:39:16 +02:00
|
|
|
FROM klakegg/hugo:alpine as build
|
2019-04-22 12:24:21 +02:00
|
|
|
WORKDIR /usr/src/build
|
|
|
|
COPY ./ ./
|
|
|
|
RUN apk --no-cache add --update make
|
2019-08-10 11:57:36 +02:00
|
|
|
RUN hugo && \
|
2019-05-01 23:14:51 +02:00
|
|
|
make -C public/ -f ../Makefile
|
2019-04-22 12:24:21 +02:00
|
|
|
|
2024-07-14 16:39:16 +02:00
|
|
|
FROM caddy
|
|
|
|
COPY Caddyfile /etc/caddy/Caddyfile
|
|
|
|
COPY ./.well-known/ /data/.well-known
|
|
|
|
COPY --from=build /usr/src/build/public /data
|