benzino77 / clamav-rest-api

ClamAV REST API. Scan files using simple POST request.
MIT License
105 stars 37 forks source link

Update Dockerfile #57

Closed phlegx closed 2 months ago

phlegx commented 2 months ago

Add curl, so we can have liveness and readiness probes for the Deployment.

phlegx commented 2 months ago

I think this is not needed. I we would have a proper health endpoint in the nodejs app then we can simply use

livenessProbe:
  httpGet:
  ...

However it seems there is no such endpoint atm and /, which might could be used for ready and livenenss, gives back an error see: https://github.com/benzino77/clamav-rest-api/issues/56