mirror of https://github.com/jumpserver/jumpserver
commit
0f2c769e8d
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue