From dae7a71fd545c77a1f8da7a83834d807520e7896 Mon Sep 17 00:00:00 2001 From: simon987 Date: Wed, 17 Nov 2021 10:14:02 -0500 Subject: [PATCH] CI fix attempt 1 --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c0fd125..4f4d0aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ FROM jojomi/hugo:0.85.0 as build -ADD . /site/ +WORKDIR /site +COPY . . -RUN cd /site/ && hugo --minify -b https://recipes.simon987.net +RUN hugo --minify -b https://recipes.simon987.net -FROM nginx:1.19-alpine +FROM nginx:1.20.1-alpine COPY nginx.conf /etc/nginx/nginx.conf COPY --from=build /site/public/ /www/