更新dockerfile

This commit is contained in:
whyour committed 2022-01-30 14:59:41 +08:00
1 parent 5a95b72607
commit 7e4fe2f1b3
2 files changed
+6 -1

No files matched your search

+5 -1
View File
@@ -40,6 +40,10 @@ RUN set -x \
&& pnpm install -g pm2 \
&& pnpm install -g ts-node typescript tslib \
&& cd / && pnpm install --prod \
&& rm -rf /root/.npm
&& apk --purge del python2 g++ make \
&& rm -rf /root/.npm \
&& rm -rf /root/.pnpm-store \
&& rm -rf /root/.cache \
&& rm -f /package.json
CMD [ "node" ]