From cd44725d17992a52e0b62b181f24ce6605153fc2 Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Mon, 21 Oct 2024 11:40:34 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=20=20=E6=96=B0=E5=A2=9E=20process=20loo?= =?UTF-8?q?kbooks=20=E6=8E=A5=E5=8F=A3=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5d35724..9a12f94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,15 @@ ENV TZ=Asia/Shanghai RUN apt update RUN apt install -y vim RUN apt install -y libgl1-mesa-glx +RUN apt install poppler-utils + COPY ./requirements.txt /requirements.txt RUN pip install --upgrade pip RUN pip install -r requirements.txt RUN pip install gunicorn RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 RUN pip install mmcv==1.4.2 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html - +RUN WORKDIR /app COPY . . RUN mkdir -p app/logs