Explorar o código

修改启动参数--max-old-space-size=4096

zhangweicheng %!s(int64=6) %!d(string=hai) anos
pai
achega
400c1a8a52
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -14,6 +14,6 @@ EXPOSE 2060
 
 ENV NODE_ENV=prod
 
-ENTRYPOINT babel-node server.js
+ENTRYPOINT babel-node --max-old-space-size=2048  server.js