update dockerfile

This commit is contained in:
wangfeng7399 2017-01-13 15:43:51 +08:00
parent dc4c37afb6
commit 0979480103
2 changed files with 3 additions and 1 deletions

1
.python-version Normal file
View File

@ -0,0 +1 @@
system

View File

@ -6,6 +6,7 @@ MAINTAINER Jumpserver Team <ibuler@qq.com>
COPY . /opt/jumpserver COPY . /opt/jumpserver
WORKDIR /opt/jumpserver WORKDIR /opt/jumpserver
RUN cp config_example.py config.py
#RUN pip install -r requirements.txt -i https://pypi.doubanio.com/simple #RUN pip install -r requirements.txt -i https://pypi.doubanio.com/simple
RUN rm -f db.sqlite3 && cd utils && sh make_migrations.sh && sh init_db.sh RUN rm -f db.sqlite3 && cd utils && sh make_migrations.sh && sh init_db.sh
EXPOSE 8080 EXPOSE 8080