From 172149e2c0c12df3c5b1576ce5f5782c918728ec Mon Sep 17 00:00:00 2001 From: derek Date: Wed, 30 Aug 2023 17:47:31 -0500 Subject: [PATCH] Fixing issue with default tmp directory --- entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index e869eeaf..36581dea 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -25,5 +25,11 @@ then export COMMANDLINE_ARGS="--listen ${COMMANDLINE_ARGS}" fi +# Remove the tmp directory +rm -rf /tmp + +# Create /tmp/gradio since auto cannot make it for some reason +mkdir -p /tmp/gradio + # Start webui.sh, -f flag allows running as root ./webui.sh -f