Skip to content

Commit 003e55d

Browse files
committed
feat(backend): dockerfile 构建报错问题 TencentBlueKing#8993
1 parent 8888198 commit 003e55d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbm-ui/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ COPY ./pyproject.toml ./poetry.lock /
5858

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

6363
FROM base AS copy-backend-file
6464
WORKDIR /app

0 commit comments

Comments
 (0)