integrate from pip to uv

This commit is contained in:
Lectom C Han
2024-12-10 11:35:16 +09:00
parent a9e015fe96
commit 950f10dce1

View File

@@ -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