suggest larger nodejs max heap

This commit is contained in:
nai-degen
2024-01-07 12:58:50 -06:00
parent e33f778192
commit d2cd24bfd2
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ COPY Dockerfile greeting.md* .env* ./
RUN npm run build
EXPOSE 7860
ENV NODE_ENV=production
CMD [ "npm", "start" ]
CMD [ "npm", "start", "--", "--max-old-space-size=12288" ]
```
- Click "Commit new file to `main`" to save the Dockerfile.