Open nick12340 opened 1 year ago
Set "read_only" as false in docker-compose.yml:
judge-server: image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/judge_server container_name: judge-server restart: always read_only: false tmpfs: - /tmp volumes: - ./data/backend/test_case:/test_case:ro - ./data/judge_server/log:/log - ./data/judge_server/run:/judger environment: - SERVICE_URL=http://judge-server:8080 - BACKEND_URL=http://oj-backend:8000/api/judge_server_heartbeat/ - TOKEN=CHANGE_THIS #- judger_debug=1
Install packages and dependencies through apt-get
docker exec -it judge-server bash apt-get update apt-get install build-essential apt-get install libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev apt-get install python3-pandas
I encountered an issue while installing packages and dependencies. The second instruction cannot run properly.
Set "read_only" as false in docker-compose.yml:
Install packages and dependencies through apt-get