fix: runner 阶段安装 bcryptjs(standalone 未打包)

This commit is contained in:
aiyimickey 2026-07-01 22:00:19 +08:00
parent 09efbbda31
commit 4e00279109
1 changed files with 2 additions and 0 deletions

View File

@ -27,5 +27,7 @@ COPY tsconfig.json ./
COPY entrypoint.sh ./
RUN npm install -g tsx tsconfig-paths
# bcryptjs 未被 standalone 打包,需在 runner 阶段安装
RUN npm install bcryptjs
EXPOSE 6181
CMD ["sh", "entrypoint.sh"]