👷 将自动化工具中的 yarn 替换为 pnpm

This commit is contained in:
2024-09-28 01:27:11 +08:00
parent cf6b7fcd6d
commit bd81449534
5 changed files with 16 additions and 10 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
FROM node:20.17.0 as frontend
ADD . /app
WORKDIR /app/admin-frontend
RUN yarn && yarn build
RUN npm install -g pnpm
RUN pnpm install && pnpm build
FROM python:3.11
RUN python3 -m pip install poetry && poetry config virtualenvs.create false