2017-04-14 17:15:46 +01:00

11 lines
229 B
Docker

FROM v4tech/imagemagick
ADD https://github.com/alexellis/faas/releases/download/0.5.2-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess "convert - -resize 50% fd:1"
EXPOSE 8080
CMD [ "/usr/bin/fwatchdog"]