Files
faas/sample-functions/Phantomjs/Dockerfile
2018-02-06 22:00:24 +00:00

10 lines
267 B
Docker

FROM alexellis2/phantomjs-docker:latest
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess="phantomjs /dev/stdin"
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
CMD ["fwatchdog"]