From 23cb07259c66d75e82235ff5a1c45f2a865584d6 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Tue, 23 May 2023 21:35:35 +0200 Subject: [PATCH] Fix Dockerfile for build --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f7752dd..7cf85a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +FROM klakegg/hugo as build +COPY . /src FROM nginx:alpine -COPY . /usr/share/nginx/html +COPY --from=build /src/public /usr/share/nginx/html