# Compile the hugo site FROM ubuntu:latest AS builder RUN apt-get update && apt-get install -y hugo COPY ./hugo /app RUN hugo -s /app # Setup deployment FROM nginx:alpine AS final COPY ./nginx/nginx.conf /etc/nginx/nginx.conf COPY --from=0 /var/www/rezepte /var/www