Update Dockerfile
Browse files- 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/*"]
|