mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Add healthcheck to DockerHubStats sample function
Signed-off-by: Liz Rice <liz@lizrice.com>
This commit is contained in:
parent
2e3b4af804
commit
f62309f388
@ -12,5 +12,6 @@ ADD https://github.com/openfaas/faas/releases/download/0.6.0/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
ENV fprocess "/go/bin/DockerHubStats"
|
||||
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
|
||||
|
||||
CMD [ "/usr/bin/fwatchdog"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user