Pārlūkot izejas kodu

fix: Dockerfile builder 阶段安装 git,解决构建时 git rev-parse 失败

kinglee 2 nedēļas atpakaļ
vecāks
revīzija
f672f47751
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -1,4 +1,5 @@
 FROM node:18-alpine AS builder
+RUN apk add --no-cache git
 WORKDIR /app
 RUN npm install -g pnpm@9.3.0
 COPY package.json pnpm-lock.yaml ./