Update Dockerfile

This commit is contained in:
Administrator 2023-10-06 19:56:56 +00:00
parent 931ae008da
commit 1e07ffbbfb
1 changed files with 6 additions and 5 deletions

View File

@ -1,10 +1,11 @@
FROM docker.io/python:3
RUN apt update
RUN apt install ffmpeg gifsicle
#RUN mkdir /workspace
#ADD requirements.txt /workspace/
#ADD run.py /workspace
#WORKDIR /workspace
RUN mkdir /workspace
ADD requirements.txt /workspace/
ADD run.py /workspace
ADD .conf.json /workspace
WORKDIR /workspace
RUN pip3 install -r requirements.txt
RUN pip3 install --upgrade sentry-sdk
CMD ["python3", "run.py"]
CMD ["python3", "run.py"]