Ivana Yovcheva (VMware) f936dcd757 Update watchdog version to 0.7.9 in function templates and docs
This updates fwatchdog to latest version (0.7.9) in all templates
in sample-functions and faas version in the documentation

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
2018-04-12 22:36:26 -07:00

20 lines
361 B
Docker

FROM node:6.9.1-alpine
ADD https://github.com/openfaas/faas/releases/download/0.7.9/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/
COPY package.json .
RUN npm install -g coffee-script && \
npm i
COPY handler.coffee .
ENV fprocess="coffee handler.coffee"
HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
CMD ["fwatchdog"]