Fix healthcheck: use wget -qO instead of --spider (BusyBox compat)
This commit is contained in:
@@ -12,6 +12,6 @@ COPY . .
|
||||
EXPOSE 3001
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
CMD wget --spider -q http://localhost:3001/api/health
|
||||
CMD wget -qO /dev/null http://localhost:3001/api/health
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
|
||||
Reference in New Issue
Block a user