fix: runner 阶段安装 bcryptjs(standalone 未打包)
This commit is contained in:
parent
09efbbda31
commit
4e00279109
|
|
@ -27,5 +27,7 @@ COPY tsconfig.json ./
|
||||||
COPY entrypoint.sh ./
|
COPY entrypoint.sh ./
|
||||||
|
|
||||||
RUN npm install -g tsx tsconfig-paths
|
RUN npm install -g tsx tsconfig-paths
|
||||||
|
# bcryptjs 未被 standalone 打包,需在 runner 阶段安装
|
||||||
|
RUN npm install bcryptjs
|
||||||
EXPOSE 6181
|
EXPOSE 6181
|
||||||
CMD ["sh", "entrypoint.sh"]
|
CMD ["sh", "entrypoint.sh"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue