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/