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

19 lines
441 B
Docker

# Build public with hugo
FROM registry.jochum.dev/jguyomard/hugo-builder:latest
COPY . /build
WORKDIR /build
RUN hugo -b https://rene.jochum.dev -v -t persona
# Copy to a nginx container
FROM registry.jochum.dev/library/nginx:1.19.2-alpine
LABEL maintainer="René Jochum <rene@jochum.dev>"
COPY docker/nginx/nginx.conf /etc/nginx/
COPY docker/nginx/default.conf /etc/nginx/conf.d/
COPY --from=0 /build/public /var/www/rene.jochum.dev