Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files7 unmodified lines891011121316 unmodified lines30313233343536377 unmodified linesRUN pip install --upgrade pipRUN pip install gradio==4.31.0 gradio[oauth]# Add a new user "bigcodebenchuser"RUN adduser --disabled-password --gecos "" bigcodebenchuser16 unmodified linesRUN chmod -R 777 /appUSER bigcodebenchuserENTRYPOINT ["python", "app.py"]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/*"]7 unmodified lines89101112131416 unmodified lines31323334353637387 unmodified linesRUN pip install --upgrade pipRUN pip install gradio==4.31.0 gradio[oauth]# Add a new user "bigcodebenchuser"RUN adduser --disabled-password --gecos "" bigcodebenchuser16 unmodified linesRUN chmod -R 777 /appCOPY . $HOME/appUSER bigcodebenchuserCMD ["python", "app.py"]
Dockerfile+4-3