更新 dockerfile,自动创建临时文件夹

This commit is contained in:
virusdefender 2015-08-11 20:23:22 +08:00
parent d93c4559a5
commit b9f4cbacf6

View File

@ -7,5 +7,7 @@ WORKDIR /var/oj/
RUN pip install -r requirements.txt
EXPOSE 8080
RUN mkdir LOG
RUN mkdir test_case
RUN mkdir tmp
RUN python manage.py migrate
CMD python manage.py runserver 0.0.0.0:8080