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

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