mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-28 16:16:41 +00:00
update dockerfile
This commit is contained in:
1
.python-version
Normal file
1
.python-version
Normal file
@@ -0,0 +1 @@
|
||||
system
|
@@ -6,7 +6,8 @@ MAINTAINER Jumpserver Team <ibuler@qq.com>
|
||||
COPY . /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 rm -f db.sqlite3 && cd utils && sh make_migrations.sh && sh init_db.sh
|
||||
EXPOSE 8080
|
||||
CMD redis-server utils/redis.conf && python run_server.py
|
||||
CMD redis-server utils/redis.conf && python run_server.py
|
||||
|
Reference in New Issue
Block a user