We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afbf8de commit fc0588dCopy full SHA for fc0588d
Docker/Evaluate.Dockerfile
@@ -31,4 +31,6 @@ RUN chmod -R 777 /app
31
32
USER bigcodebenchuser
33
34
-ENTRYPOINT ["python3", "-m", "bigcodebench.evaluate"]
+ENTRYPOINT ["python3", "-m", "bigcodebench.evaluate"]
35
+
36
+CMD ["sh", "-c", "pids=$(ps -u $(id -u) -o pid,comm | grep '^ *[0-9]\\+ bigcodebench' | awk '{print $1}'); if [ -n \"$pids\" ]; then echo $pids | xargs kill; fi; rm -rf /tmp/*"]
0 commit comments