remove test data and don't run uv twice

This commit is contained in:
2026-01-06 19:43:36 -05:00
parent 571e449581
commit 9e5f377768
3 changed files with 3 additions and 2 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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