add back python install(lock forces it) and instead change permissions of root uv folder.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
2
start.sh
2
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user