|
|
|
@ -8,6 +8,7 @@ ENV UV_VERSION=0.6.14
|
|
|
|
# if you are located in China,you can add the sentence to acceding uv pip tool
|
|
|
|
# if you are located in China,you can add the sentence to acceding uv pip tool
|
|
|
|
ENV UV_DEFAULT_INDEX="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
|
|
|
|
ENV UV_DEFAULT_INDEX="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN python -m pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --upgrade pip
|
|
|
|
RUN python -m pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --upgrade pip
|
|
|
|
RUN pip install --no-cache-dir uv==${UV_VERSION} -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
|
|
|
|
RUN pip install --no-cache-dir uv==${UV_VERSION} -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
|
|
|
|
|
|
|
|
|
|
|
|
@ -15,6 +16,7 @@ RUN pip install --no-cache-dir uv==${UV_VERSION} -i https://mirrors.tuna.tsinghu
|
|
|
|
RUN rm -rf /etc/apt/source*
|
|
|
|
RUN rm -rf /etc/apt/source*
|
|
|
|
ADD sources.list /etc/apt/
|
|
|
|
ADD sources.list /etc/apt/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FROM base AS packages
|
|
|
|
FROM base AS packages
|
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
RUN apt-get update \
|
|
|
|
|