meetpatel0963 / Online-judge

An Online Judge based on MERN Stack, Spring Boot and Docker.
66 stars 15 forks source link

java: line 0: /run.sh: not found #8

Open SahilAnower opened 9 months ago

SahilAnower commented 9 months ago

Whenever I am running docker run with all details, it is giving me this error, whether in the application, when submitting new problem, or directly running as a command inside terminal.

Can you help me out in this?

@meetpatel0963

SahilAnower commented 9 months ago
docker run --rm -v="C:\Users\sahil\OneDrive\Desktop\node-projects\Online-judge\judge\submissions\65bd6371ed6e2357f4b014ad\solution.java":/solution.java -v="C:\Users\sahil\OneDrive\Desktop\node-projects\Online-judge\judge\submissions\65bd6371ed6e2357f4b014ad\testcase.txt":/testcase.txt -v="C:\Users\sahil\OneDrive\Desktop\node-projects\Online-judge\judge\submissions\65bd6371ed6e2357f4b014ad\output.txt":/output.txt -v="C:\Users\sahil\OneDrive\Desktop\node-projects\Online-judge\judge\submissions\65bd6371ed6e2357f4b014ad\timeMemory.txt":/timeMemory.txt online-judge java ./output.txt ./timeMemory.txt 1 100
./run.sh: line 53: : No such file or directory
./run.sh: line 72: : No such file or directory
./run.sh: line 73: : No such file or directory

Even after using linux changes inside docker, it is giving still error as it couldn't find $1, $2, $3, $4 inside run.sh. Any ideas?