fix: 修正企业镜像缺失依赖

pull/13255/head
吴小白 2024-05-20 14:57:15 +08:00
parent a15335cac9
commit 1d53f292ae
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ RUN --mount=type=cache,target=/root/.cache,sharing=locked \
&& pip install poetry -i ${PIP_MIRROR} \ && pip install poetry -i ${PIP_MIRROR} \
&& poetry config virtualenvs.create false \ && poetry config virtualenvs.create false \
&& . /opt/py3/bin/activate \ && . /opt/py3/bin/activate \
&& poetry install --only=main && poetry install --without xpack
COPY --from=stage-1 /opt/jumpserver /opt/jumpserver COPY --from=stage-1 /opt/jumpserver /opt/jumpserver

View File

@ -111,7 +111,7 @@ RUN --mount=type=cache,target=/root/.cache,sharing=locked \
&& pip install poetry -i ${PIP_MIRROR} \ && pip install poetry -i ${PIP_MIRROR} \
&& poetry config virtualenvs.create false \ && poetry config virtualenvs.create false \
&& . /opt/py3/bin/activate \ && . /opt/py3/bin/activate \
&& poetry install && poetry install --with xpack
COPY --from=stage-1 /opt/jumpserver /opt/jumpserver COPY --from=stage-1 /opt/jumpserver /opt/jumpserver