From 4a1b749b104f8e4522a77cf0107e815cd4c08c66 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Sun, 31 May 2026 20:24:15 +0100 Subject: [PATCH] fix: git not in dockerfile --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7633a7f..61d7a4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM ghcr.io/pnpm/pnpm:latest as Builder -RUN pnpm runtime set node 22 -g ENV CI=true +RUN pnpm runtime set node 22 -g +RUN apt update +RUN apt install git -y WORKDIR /app COPY pnpm-lock.yaml /app @@ -13,6 +15,3 @@ RUN pnpm run build FROM ghcr.io/static-web-server/static-web-server:latest WORKDIR / COPY --from=Builder /app/build /public -# ENV SERVER_REDIRECT_TRAILING_SLASH=false -# ENTRYPOINT ["/static-web-server"] -# CMD ["--redirect-trailing-slash", "true"]