ts-node 异常,锁定 typescript 版本

This commit is contained in:
whyour
2026-07-10 01:36:31 +08:00
parent 9b17a41987
commit da6dac8bf1
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ COPY package.json .npmrc pnpm-lock.yaml /tmp/build/
RUN set -x \
&& apk update \
&& apk add nodejs npm git \
&& npm i -g pnpm@8.3.1 pm2 ts-node \
&& npm i -g pnpm@8.3.1 pm2 ts-node typescript@5 \
&& cd /tmp/build \
&& pnpm install --prod