mirror of
https://github.com/openfaas/faas.git
synced 2025-06-28 09:43:24 +00:00
Allow resizing of images
This commit is contained in:
10
sample-functions/ResizeImageMagick/Dockerfile
Normal file
10
sample-functions/ResizeImageMagick/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
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"]
|
Reference in New Issue
Block a user