From 950f10dce1c2fed204ff0a19886406fba35a33db Mon Sep 17 00:00:00 2001 From: Lectom C Han Date: Tue, 10 Dec 2024 11:35:16 +0900 Subject: [PATCH] integrate from pip to uv --- dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dockerfile b/dockerfile index f37d168..052c682 100644 --- a/dockerfile +++ b/dockerfile @@ -12,11 +12,14 @@ RUN cd /etc/apt && \ sed -i 's/archive.ubuntu.com/mirror.kakao.com/g' sources.list RUN apt-get -y update RUN apt-get -y install python3-tk git vim curl -RUN python3 -m pip install --upgrade pip - +ADD https://astral.sh/uv/install.sh /uv-installer.sh +RUN sh /uv-installer.sh && rm /uv-installer.sh +ENV PATH="/root/.local/bin/:$PATH" +RUN uv self update COPY requirements.txt . -RUN python3 -m pip install -r requirements.txt +# RUN python3 -m pip install -r requirements.txt +RUN uv pip install -r requirements.txt --system # To be able to see logs in real time ENV PYTHONUNBUFFERED=1