2023-10-04 03:31:24 +00:00
|
|
|
FROM docker.io/python:3
|
|
|
|
RUN apt update
|
|
|
|
RUN apt install ffmpeg gifsicle
|
2023-10-06 19:56:56 +00:00
|
|
|
RUN mkdir /workspace
|
2023-10-06 20:34:38 +00:00
|
|
|
RUN mkdir /workspace/downloads
|
2023-10-06 19:56:56 +00:00
|
|
|
ADD requirements.txt /workspace/
|
|
|
|
ADD run.py /workspace
|
|
|
|
ADD .conf.json /workspace
|
|
|
|
WORKDIR /workspace
|
2023-10-04 03:31:24 +00:00
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
RUN pip3 install --upgrade sentry-sdk
|
2023-10-06 19:56:56 +00:00
|
|
|
CMD ["python3", "run.py"]
|