fix: git not in dockerfile

This commit is contained in:
2026-05-31 20:24:15 +01:00
parent 83358cf164
commit 4a1b749b10
+3 -4
View File
@@ -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"]