integrate from pip to uv
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user