We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 449849e commit 8861c19Copy full SHA for 8861c19
2 files changed
backend/Dockerfile
@@ -19,5 +19,5 @@ EXPOSE 5000
19
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
20
CMD curl -f http://localhost:5000/api/health || exit 1
21
22
-# Start the application
23
-CMD ["npm", "start"]
+# Start the application with increased header limits
+CMD ["node", "--max-http-header-size=32768", "index.js"]
backend/package.json
@@ -3,8 +3,8 @@
3
"version": "1.0.0",
4
"main": "index.js",
5
"scripts": {
6
- "start": "node index.js",
7
- "dev": "node index.js",
+ "start": "node --max-http-header-size=32768 index.js",
+ "dev": "node --max-http-header-size=32768 index.js",
8
"migrate": "node migrations/run-migrations.js",
9
"seed": "node migrations/run-migrations.js",
10
"reset-db": "node migrations/run-migrations.js",
0 commit comments