Skip to content

Commit

Permalink
feat(backend): dockerfile 构建报错问题 TencentBlueKing#8993
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Jan 9, 2025
1 parent 8888198 commit 5fcadf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbm-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ COPY ./pyproject.toml ./poetry.lock /

ENV PATH="/root/.cargo/bin:${PATH}"
# 创建 Python 虚拟环境并安装依赖
RUN set -ex && python -m venv /venv && . /venv/bin/activate && pip install --upgrade pip && pip install poetry && poetry install
RUN set -ex && python -m venv /venv && . /venv/bin/activate && pip install --upgrade pip && pip install poetry && poetry install --no-root

FROM base AS copy-backend-file
WORKDIR /app
Expand Down

0 comments on commit 5fcadf4

Please sign in to comment.