diff --git a/Dockerfile b/Dockerfile index 7ea088e..fa8f22b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Clone release RUN wget https://github.com/rommapp/romm/archive/refs/tags/$VERSION.tar.gz && \ -tar xfz $VERSION.tar.gz --strip-components=1 -C /app/code && rm $VERSION.tar.gz +tar xfz $VERSION.tar.gz --strip-components=1 -C /app/code && rm $VERSION.tar.gz && rm -rf /app/code/backend/romm_test # Install nvm ENV NVM_DIR="/app/code/.nvm" diff --git a/start.sh b/start.sh index 71c1ea0..161c306 100755 --- a/start.sh +++ b/start.sh @@ -29,6 +29,7 @@ export XDG_CACHE_HOME=/tmp/cache export REDIS_HOST=${CLOUDRON_REDIS_HOST} export REDIS_PORT=${CLOUDRON_REDIS_PORT} export ROMM_BASE_PATH=/app/data +export ROMM_TMP_PATH=/tmp TEMPLATE_FILE="/app/pkg/env.sh.template" ENV_FILE="/app/data/env.sh" diff --git a/supervisor/watcher.conf b/supervisor/watcher.conf index d81a4f6..c2c4305 100644 --- a/supervisor/watcher.conf +++ b/supervisor/watcher.conf @@ -2,7 +2,7 @@ priority=20 directory=/app/code/backend environment=HOME=/app/code -command=uv run watchfiles --target-type command 'uv run python watcher.py' /app/data/library +command=uv run watchfiles --target-type command 'python watcher.py' /app/data/library user=cloudron autostart=true autorestart=true