some fixes
Build and Push Docker Images / build-and-push (push) Failing after 20s

This commit is contained in:
2026-04-09 21:50:57 +02:00
parent 7d6582f4be
commit 6fe6c5f354
3 changed files with 231 additions and 47 deletions
+1 -1
View File
@@ -24,4 +24,4 @@ ENV HEALTH_PATH=/
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
CMD node -e "require('http').get('http://127.0.0.1:'+(process.env.LISTEN_PORT||8080)+'/health',(r)=>{let d='';r.on('data',c=>d+=c);r.on('end',()=>{try{process.exit(JSON.parse(d).ok?0:1)}catch{process.exit(1)}})}).on('error',()=>process.exit(1))"
CMD ["npm", "start"]
CMD ["node", "server.js"]