mirror of
				https://github.com/skidoodle/budgetable.git
				synced 2025-02-15 03:39:14 +01:00 
			
		
		
		
	replace wget with curl for docker healthchecks
This commit is contained in:
		| @@ -56,7 +56,7 @@ USER nextjs | ||||
| EXPOSE 3000 | ||||
| ENV PORT 3000 | ||||
| ENV HOSTNAME "0.0.0.0" | ||||
| HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "wget", "-q0", "http://localhost:3000/health" ] | ||||
| HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "curl", "-f", "http://localhost:3000/health" ] | ||||
|  | ||||
| # Run the nextjs app | ||||
| CMD ["node", "server.js"] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user