This commit is contained in:
hailin 2025-06-23 22:22:40 +08:00
parent 058485e5f9
commit 7704cd90c3
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@ ENV BLOGAI_HOST=${BLOGAI_HOST}
WORKDIR /app
# ✅ 必须在 COPY 前存在 lock 文件,确保版本一致
COPY pnpm-lock.yaml ./
COPY pnpm-workspace.yaml ./
COPY package.json ./
RUN npm install -g pnpm
COPY . ./