Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM alpine:latest
- #RUN apk add --no-cache git python3-pip python3-tk ffmpeg pngquant gifsicle
- RUN apk add --no-cache git ffmpeg pngquant gifsicle zlib-dev jpeg-dev build-base python3-dev python3-tkinter
- RUN python3 -m ensurepip --upgrade
- RUN git clone http://github.com/kubinka0505/iFunny-Captions
- WORKDIR /iFunny-Captions
- RUN python3 -m pip install -r requirements.txt
- # This line replaces
- # "URL_or_Path": ""
- # with
- # "URL_or_Path": "file:///file.gif"
- # we use + as an alternative delimeter for sed
- RUN sed -i -e 's+"URL_or_Path": "",+"URL_or_Path": "file:///file.gif",+g' Config.json
- CMD sh Run.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement