commit
db1ddce57a
@ -0,0 +1 @@
|
|||||||
|
Dockerfile
|
@ -0,0 +1,15 @@
|
|||||||
|
FROM mcr.microsoft.com/playwright
|
||||||
|
|
||||||
|
RUN apt update
|
||||||
|
RUN apt install python3-pip -y
|
||||||
|
|
||||||
|
RUN mkdir /app
|
||||||
|
ADD . /app
|
||||||
|
WORKDIR /app
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
# tricks for pytube : https://github.com/elebumm/RedditVideoMakerBot/issues/142
|
||||||
|
# (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"]
|
@ -0,0 +1 @@
|
|||||||
|
docker run -v $(pwd)/out/:/app/assets -v $(pwd)/.env:/app/.env -it rvmt
|
Loading…
Reference in new issue