修改判题机器的配置文件

This commit is contained in:
virusdefender 2015-12-09 22:22:26 +08:00
parent 12f96c6cac
commit e32712be83
2 changed files with 2 additions and 6 deletions

View File

@ -19,4 +19,5 @@ RUN cd lrun && make install
RUN mkdir -p /var/judger/run/ && mkdir /var/judger/test_case/ && mkdir /var/judger/code/
RUN chmod -R 777 /var/judger/run/
COPY policy /var/judger/run/
WORKDIR /var/judger/code/
WORKDIR /var/judger/code/judge/
CMD python server.py

View File

@ -22,11 +22,6 @@ if ENV == "local":
elif ENV == "server":
from .server_settings import *
BROKER_BACKEND = "redis"
CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))