Valentin Brandl
cbb05e22aa
All checks were successful
Publish / Publish Docker Image (push) Successful in 24s
12 lines
293 B
Docker
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
|