use system python and try permission fix

This commit is contained in:
2026-01-03 13:23:49 -05:00
parent 8834232769
commit 6a9dbd7603
2 changed files with 1 additions and 4 deletions

View File

@@ -68,9 +68,6 @@ WORKDIR /app/code/
# Install uv for the non-root user
COPY --from=ghcr.io/astral-sh/uv:0.7.19 /uv /uvx /usr/local/bin/
# Install Python
RUN uv python install 3.13
# Install Python dependencies
RUN uv sync --all-extras

View File

@@ -5,7 +5,7 @@ mkdir -p /app/data/library /app/data/config /app/data/assets /app/data/resources
mkdir -p /tmp/vite-temp
# ensure that data directory is owned by 'cloudron' user
chown -R cloudron:cloudron /app/data
chown -R cloudron:cloudron /app/data /tmp/vite-temp
cd /app/data