From 8af30e0d945df871507028fd4bf183bc91b28146 Mon Sep 17 00:00:00 2001 From: Thomas Kosmas Date: Thu, 26 Dec 2024 22:25:09 +0200 Subject: [PATCH] fix? --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4630473..26d8853 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y tzdata # ENV TZ Asia/Tokyo RUN apt-get update && \ - apt-get install --yes --no-install-recommends curl g++ libopencv-dev python3.10 python3-pip \ + apt-get install --yes --no-install-recommends curl g++ libopencv-dev python3.10 python3-pip && \ rm -rf /var/lib/apt/lists/* RUN curl -sSL https://install.python-poetry.org | POETRY_VERSION=${POETRY_VERSION} python3.10 - @@ -25,7 +25,7 @@ RUN poetry config virtualenvs.create false && \ rm -rf /root/.cache/pip #use paddlegpu -RUN pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu124/ +RUN pip install paddlepaddle-gpu==3.0.0b1 -i python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/ COPY . ./ COPY magic-pdf.gpu.json /root/magic-pdf.json