增加启动命令

This commit is contained in:
virusdefender 2015-08-02 12:22:13 +08:00
parent 4fb0bd7945
commit eb686a0f1a

View File

@ -7,4 +7,4 @@ WORKDIR /var/oj/
RUN pip install -r requirements.txt
EXPOSE 8080
RUN mkdir LOG
CMD bash -c "python manage.py runserver 8080"
CMD python manage.py runserver 0.0.0.0:8080