File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+ npm install -D
3+ npm run build
24
35docker build -t codingblocks/judge-taskmaster .
4- docker system prune
6+ docker system prune -f
7+
58read -p " Push ? [Press enter to continue]"
69docker push codingblocks/judge-taskmaster
Original file line number Diff line number Diff line change @@ -12,27 +12,27 @@ exports = module.exports = {
1212 'java8' : {
1313 SOURCE_FILE : 'Main.java' ,
1414 CPU_SHARE : '1.2' ,
15- MEM_LIMIT : '80m ' ,
15+ MEM_LIMIT : '500m ' ,
1616 } ,
1717 'cpp' : {
1818 SOURCE_FILE : 'source.cpp' ,
1919 CPU_SHARE : "0.8" ,
20- MEM_LIMIT : '20m ' ,
20+ MEM_LIMIT : '200m ' ,
2121 } ,
2222 'c' : {
2323 SOURCE_FILE : 'source.c' ,
2424 CPU_SHARE : "0.5" ,
25- MEM_LIMIT : '20m '
25+ MEM_LIMIT : '100m '
2626 } ,
2727 'py2' : {
2828 SOURCE_FILE : 'source.py' ,
29- CPU_SHARE : "0.5 " ,
30- MEM_LIMIT : '20m '
29+ CPU_SHARE : "0.8 " ,
30+ MEM_LIMIT : '200m '
3131 } ,
3232 'nodejs6' : {
3333 SOURCE_FILE : 'source.js' ,
34- CPU_SHARE : "0.5 " ,
35- MEM_LIMIT : '20m '
34+ CPU_SHARE : "0.8 " ,
35+ MEM_LIMIT : '300m '
3636 }
3737 }
3838}
You can’t perform that action at this time.
0 commit comments