From 2879f3775be7eff3a07b3b88653f9535f1865b44 Mon Sep 17 00:00:00 2001 From: kairi003 Date: Sun, 8 Sep 2024 02:39:29 +0900 Subject: [PATCH] chore: add git command and set safe dir --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index fa933f999..7be53d24e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,9 @@ USER 0:0 RUN corepack enable \ && corepack enable pnpm +RUN apk add --no-cache git~=2.43.4 \ + && git config --add --system safe.directory /mermaid + ENV NODE_OPTIONS="--max_old_space_size=8192" EXPOSE 9000 3333