diff --git a/Dockerfile b/Dockerfile index 5af8186..5a8aa63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,6 +69,7 @@ WORKDIR /app/code/ COPY --from=ghcr.io/astral-sh/uv:0.7.19 /uv /uvx /usr/local/bin/ # Install Python +ENV UV_PYTHON_INSTALL_DIR=/app/code/uv RUN mkdir /app/code/uv && uv python install -i /app/code/uv 3.13 # Install Python dependencies diff --git a/start.sh b/start.sh index 4e07c7c..0c22c43 100755 --- a/start.sh +++ b/start.sh @@ -27,6 +27,7 @@ export OIDC_CLIENT_SECRET=${CLOUDRON_OIDC_CLIENT_SECRET} export OIDC_REDIRECT_URI="/api/oauth/openid" export OIDC_SERVER_APPLICATION_URL=${CLOUDRON_OIDC_AUTH_ENDPOINT} export ROMM_BASE_PATH=/app/data +export UV_PYTHON_INSTALL_DIR=/app/code/uv echo "==> Starting supervisor" exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Romm