Merge branch 'debug' of https://git.coding.net/virusdefender/qduoj into debug
This commit is contained in:
@@ -18,4 +18,5 @@ RUN git clone https://github.com/quark-zju/lrun.git
|
||||
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/
|
||||
3
dockerfiles/judger/policy
Normal file
3
dockerfiles/judger/policy
Normal file
@@ -0,0 +1,3 @@
|
||||
grant {
|
||||
permission java.io.FilePermission "/tmp", "read";
|
||||
};
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
command=python manage.py runscript mq
|
||||
|
||||
directory=/code/qduoj/
|
||||
directory=/code/
|
||||
user=root
|
||||
numprocs=1
|
||||
stdout_logfile=/code/log/mq.log
|
||||
|
||||
Reference in New Issue
Block a user