diff --git a/Dockerfile b/Dockerfile index 329d9d8..ca12580 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,5 +11,5 @@ ENV NODE_OPTIONS="--openssl-legacy-provider --max-old-space-size=4096" RUN npm install COPY . . RUN npm run build -CMD ["npm","run","start"] +CMD ["npm","run","start:prod"] diff --git a/package.json b/package.json index d3a0306..d45d09e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "start": "nest start", "start:dev": "nest start --watch", "start:debug": "nest start --debug --watch", - "start:prod": "node dist/main", + "start:prod": "UV_THREADPOOL_SIZE='7' node dist/main", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest", "test:newman": "ts-node ./test/promptValue.ts && newman run studio-api.postman_collection.json -e environment.json",