You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
homepage/Dockerfile

18 lines
324 B
Docker

# Build public with hugo
FROM jojomi/hugo:latest
COPY . /build
WORKDIR /build
RUN hugo -b https://rene.jochum.dev -v -t persona
# Copy to a nginx container
FROM caddy:2.5.2-alpine
LABEL maintainer="René Jochum <rene@jochum.dev>"
COPY docker/caddy/Caddyfile /etc/caddy/
COPY --from=0 /build/public/ /usr/share/caddy/