From a03f0c0da2d5eb966142df9e82ea385d7f5d57d7 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Wed, 20 Mar 2024 09:38:12 +0100 Subject: [PATCH] Added build stuff --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 22cdca6..49c61e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM betterweb/hugo:latest +FROM betterweb/hugo:latest as build WORKDIR /app COPY . /app/ RUN hugo FROM registry.odit.services/library/nginx-brotli -COPY --from=0 /app/public /usr/share/nginx/html \ No newline at end of file +COPY --from=build /app/public /usr/share/nginx/html \ No newline at end of file