Update Dockerfile
This commit is contained in:
1 parent
9c6c16a5d8
commit
49de46dd53
1 file changed
+3
-2
+3
-2
@@ -9,6 +9,7 @@ WORKDIR /app
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# tricks for pytube : https://github.com/elebumm/RedditVideoMakerBot/issues/142
|
||||
RUN sed -i 's/re.compile(r"^\\w+\\W")/re.compile(r"^\\$*\\w+\\W")/' /usr/local/lib/python3.8/dist-packages/pytube/cipher.py
|
||||
# (NOTE : This is no longer useful since pytube was removed from the dependencies)
|
||||
# RUN sed -i 's/re.compile(r"^\\w+\\W")/re.compile(r"^\\$*\\w+\\W")/' /usr/local/lib/python3.8/dist-packages/pytube/cipher.py
|
||||
|
||||
CMD ["python3", "main.py"]
|
||||
CMD ["python3", "main.py"]
|
||||
Reference in new issue
Block a user