chore: add git command and set safe dir

This commit is contained in:
kairi003 2024-09-08 02:39:29 +09:00
parent 58524aceaa
commit 2879f3775b

View File

@ -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