perf: 修改dockerfile

pull/6977/head
ibuler 2021-09-28 10:09:04 +08:00 committed by 老广
parent 46a39701d4
commit a558ee2ac0
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,10 @@ RUN mkdir -p /opt/jumpserver/oracle/ \
&& ldconfig \ && ldconfig \
&& rm -f instantclient-basiclite-linux.x64-21.1.0.0.0.tar && rm -f instantclient-basiclite-linux.x64-21.1.0.0.0.tar
RUN echo > config.yml && cd apps && python manage.py compilemessages RUN echo 'SECRET_KEY: BUILD' > config.yml \
&& cd apps \
&& python manage.py compilemessages \
&& echo > ../config.yml
VOLUME /opt/jumpserver/data VOLUME /opt/jumpserver/data
VOLUME /opt/jumpserver/logs VOLUME /opt/jumpserver/logs