diff --git a/Dockerfile b/Dockerfile index a1660f2..41c3786 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]