fix(docker): add git installation to Dockerfile for build dependencies

This commit is contained in:
RainbowBird
2026-06-05 23:08:29 +08:00
parent 3a16224e72
commit 37d12fd2dd
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -4,6 +4,8 @@ WORKDIR /app
RUN corepack enable
RUN apk add --no-cache git
COPY . .
RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
@@ -4,6 +4,8 @@ WORKDIR /app
RUN corepack enable
RUN apk add --no-cache git
COPY . .
RUN pnpm install --frozen-lockfile --ignore-scripts