mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
16 lines
307 B
Docker
16 lines
307 B
Docker
FROM openfaas/classic-watchdog:0.14.4 as watchdog
|
|
|
|
FROM alpine:3.9
|
|
|
|
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
|
|
RUN chmod +x /usr/bin/fwatchdog
|
|
|
|
RUN apk add --no-cache figlet
|
|
|
|
# Populate example here
|
|
ENV fprocess="figlet"
|
|
|
|
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
|
|
CMD ["fwatchdog"]
|
|
|