Browse Source

Merge pull request #11177 from jumpserver/pr@dev@perf_del_remote

perf: 不能 remove
pull/11180/head^2
老广 1 year ago committed by GitHub
parent
commit
207d015497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Dockerfile

5
Dockerfile

@ -86,12 +86,11 @@ COPY ./poetry.lock ./poetry.lock
ARG PIP_MIRROR=https://pypi.douban.com/simple
RUN --mount=type=cache,target=/root/.cache/pip \
RUN --mount=type=cache,target=/root/.cache/poetry \
set -ex \
&& pip install poetry==1.5.1 -i ${PIP_MIRROR} \
&& poetry config virtualenvs.create false \
&& poetry install --only=main \
&& rm -rf /root/.cache/pip
&& poetry install --only=main
COPY --from=stage-build /opt/jumpserver/release/jumpserver /opt/jumpserver
RUN echo > /opt/jumpserver/config.yml \

Loading…
Cancel
Save