Advertisement
Guest User

Untitled

a guest
Oct 30th, 2021
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. FROM alpine:latest
  2.  
  3. #RUN apk add --no-cache git python3-pip python3-tk ffmpeg pngquant gifsicle
  4. RUN apk add --no-cache git ffmpeg pngquant gifsicle zlib-dev jpeg-dev build-base python3-dev python3-tkinter
  5.  
  6. RUN python3 -m ensurepip --upgrade
  7.  
  8. RUN git clone http://github.com/kubinka0505/iFunny-Captions
  9.  
  10. WORKDIR /iFunny-Captions
  11. RUN python3 -m pip install -r requirements.txt
  12.  
  13. # This line replaces
  14. # "URL_or_Path": ""
  15. # with
  16. # "URL_or_Path": "file:///file.gif"
  17. # we use + as an alternative delimeter for sed
  18. RUN sed -i -e 's+"URL_or_Path": "",+"URL_or_Path": "file:///file.gif",+g' Config.json
  19.  
  20. CMD sh Run.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement