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
412 B
Docker

# Build public with hugo
FROM registry.fk.jochum.dev/docker_hub_cache/jojomi/hugo:latest
COPY . /build
WORKDIR /build
RUN hugo -b https://rene.jochum.dev -v -t persona
# Copy to a nginx container
FROM registry.fk.jochum.dev/docker_hub_cache/library/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/