Skip to content

Commit afb3454

Browse files
author
Wenruli
committed
fix:基础镜像修改
1 parent c67237e commit afb3454

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/base.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh
3636
COPY ./pyproject.toml ./
3737

3838
# 安装 Python 依赖
39-
RUN python -m pip install --upgrade pip && \
39+
RUN source $HOME/.local/bin/env && \
40+
python -m pip install --upgrade pip && \
4041
uv pip install -r <(uv pip compile pyproject.toml) --system --no-cache-dir && \
4142
uv cache clean
4243

0 commit comments

Comments
 (0)