terryyz commited on
Commit
e81b7d4
1 Parent(s): 55f4d70

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -32,4 +32,6 @@ RUN chmod -R 777 /app
32
 
33
  USER bigcodebenchuser
34
 
 
 
35
  CMD ["sh", "-c", "pids=$(ps -u $(id -u) -o pid,comm | grep 'bigcodebench' | awk '{print $1}'); if [ -n \"$pids\" ]; then echo $pids | xargs -r kill; fi; rm -rf /tmp/*"]
 
32
 
33
  USER bigcodebenchuser
34
 
35
+ ENTRYPOINT ["python", "app.py"]
36
+
37
  CMD ["sh", "-c", "pids=$(ps -u $(id -u) -o pid,comm | grep 'bigcodebench' | awk '{print $1}'); if [ -n \"$pids\" ]; then echo $pids | xargs -r kill; fi; rm -rf /tmp/*"]