chore: update Dockerfile to install pnpm globally and modify Gitea CI/CD workflow to specify platform
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m58s

This commit is contained in:
typist
2025-10-27 22:15:05 +08:00
parent 82e10b72c7
commit 1a2bdf5bd0
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
FROM node:22-alpine AS builder
# 安装 pnpm
RUN corepack enable && corepack prepare pnpm@latest --activate
RUN npm install -g pnpm
# 设置工作目录
WORKDIR /app