diff --git a/Dockerfile b/Dockerfile index f1a637230..6fb318050 100644 --- a/Dockerfile +++ b/Dockerfile @@ -106,7 +106,7 @@ RUN --mount=type=cache,target=/root/.cache,sharing=locked \ && pip install poetry -i ${PIP_MIRROR} \ && poetry config virtualenvs.create false \ && . /opt/py3/bin/activate \ - && poetry install --only=main + && poetry install --without xpack COPY --from=stage-1 /opt/jumpserver /opt/jumpserver diff --git a/Dockerfile-ee b/Dockerfile-ee index cb6958062..5a9eda508 100644 --- a/Dockerfile-ee +++ b/Dockerfile-ee @@ -111,7 +111,7 @@ RUN --mount=type=cache,target=/root/.cache,sharing=locked \ && pip install poetry -i ${PIP_MIRROR} \ && poetry config virtualenvs.create false \ && . /opt/py3/bin/activate \ - && poetry install + && poetry install --with xpack COPY --from=stage-1 /opt/jumpserver /opt/jumpserver