diff --git a/Dockerfile b/Dockerfile index 8ab6d6a1d..b030c25b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN yum -y install $(cat requirements/rpm_requirements.txt) RUN pip install --upgrade pip setuptools==49.6.0 wheel -i ${PIP_MIRROR} && \ pip config set global.index-url ${PIP_MIRROR} RUN pip install $(grep 'jms' requirements/requirements.txt) -i https://pypi.org/simple -RUN pip install -r requirements/requirements.txt || pip install -r requirements/requirements.txt +RUN pip install -r requirements/requirements.txt COPY --from=stage-build /opt/jumpserver/release/jumpserver /opt/jumpserver RUN mkdir -p /root/.ssh/ && echo -e "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null" > /root/.ssh/config