Last active
December 14, 2024 17:15
-
-
Save jswhisperer/318ac8f5a55a35bd095e241863ede227 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DOCKERFILE | |
FROM ubuntu:latest | |
ADD https://github.com/openfaas/faas/releases/download/0.6.9/fwatchdog /usr/bin | |
RUN chmod +x /usr/bin/fwatchdog | |
ENV FFMPEG_VERSION=3.0.2 | |
WORKDIR /tmp/ffmpeg | |
RUN apt-get -y update && apt-get -y dist-upgrade && apt-get -y install software-properties-common | |
RUN add-apt-repository ppa:mc3man/trusty-media -y | |
RUN apt-get -y install ffmpeg | |
ENV fprocess="xargs ffmpeg" | |
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1 | |
CMD ["fwatchdog"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment