perf: 优化内存占用

This commit is contained in:
xiaojunnuo
2026-01-14 11:37:20 +08:00
parent 0797a4f99d
commit 4fc8acce8c

View File

@@ -53,7 +53,7 @@ RUN ARCH=$(uname -m) && \
ENV TZ=Asia/Shanghai
ENV NODE_ENV=production
ENV MIDWAY_SERVER_ENV=production
CMD ["npm", "run","start"]
CMD ["node", "--optimize-for-size", "./bootstrap.js"]