From 0609289f6ed15304976ad26d94ae720cb8bb6ef8 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Tue, 22 Aug 2023 21:51:03 +0200 Subject: [PATCH] release: dont use absolute path to hugo binary Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7cd3f6922b..0fe13761b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ FROM build-base as build ARG HUGO_ENV ARG DOCS_URL COPY . . -RUN /bin/hugo --gc --minify -d /out -e $HUGO_ENV -b $DOCS_URL +RUN hugo --gc --minify -d /out -e $HUGO_ENV -b $DOCS_URL FROM scratch as release COPY --from=build /out /