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

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