Update Dockerfile

pull/716/head
老广 2017-09-14 09:49:42 +08:00 committed by GitHub
parent e6537699fd
commit d4fa082e17
1 changed files with 3 additions and 4 deletions

View File

@ -5,10 +5,9 @@ LABEL MAINTAINER Jumpserver Team <ibuler@qq.com>
COPY . /opt/jumpserver
WORKDIR /opt/jumpserver
RUN yum -y install epel-release
RUN cd requirements && yum -y install $(cat rpm_requirements.txt)
RUN yum -y install epel-release && yum clean all -y
RUN cd requirements && yum -y install $(cat rpm_requirements.txt) && yum clean all -y
RUN cd requirements && pip install -r requirements.txt
RUN yum clean all
RUN rm -f data/db.sqlite3
RUN rm -r .git