From 977cd6cdca4f4f79b0002510ab0b70b2652c5650 Mon Sep 17 00:00:00 2001 From: Daniele Guido Date: Fri, 21 Jun 2024 15:04:37 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7a19880..6fd7bb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,8 +45,9 @@ ENV GATSBY_IMPRESSO_API_URL="/api" RUN yarn build +RUN npm install -g pagefind@v1.1.0 # Install and run pagefind -RUN npx pagefind@v1.1.0 --site /app/public --verbose +RUN pagefind --site /app/public --verbose # copy all files built by gatsy to busybox FROM busybox:stable