File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ EXPOSE 5000
1919HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
2020 CMD curl -f http://localhost:5000/api/health || exit 1
2121
22- # Start the application
23- CMD ["npm " , "start " ]
22+ # Start the application with increased header limits
23+ CMD ["node " , "--max-http-header-size=32768" , "index.js " ]
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "main" : " index.js" ,
55 "scripts" : {
6- "start" : " node index.js" ,
7- "dev" : " node index.js" ,
6+ "start" : " node --max-http-header-size=32768 index.js" ,
7+ "dev" : " node --max-http-header-size=32768 index.js" ,
88 "migrate" : " node migrations/run-migrations.js" ,
99 "seed" : " node migrations/run-migrations.js" ,
1010 "reset-db" : " node migrations/run-migrations.js" ,
You can’t perform that action at this time.
0 commit comments