Files
faas/sample-functions/Phantomjs/Dockerfile
2017-07-03 19:06:52 +01:00

10 lines
274 B
Docker

FROM alexellis2/phantomjs-docker:latest
ADD https://github.com/alexellis/faas/releases/download/0.5.6-alpha/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"]