diff --git a/Dockerfile b/Dockerfile index fdcf1ee..39518e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,6 +68,9 @@ 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 diff --git a/start.sh b/start.sh index 7e6916d..ec2f89d 100755 --- a/start.sh +++ b/start.sh @@ -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 /tmp/vite-temp +chown -R cloudron:cloudron /app/data /tmp/vite-temp /root/.local/share/uv/python cd /app/data