use system python and try permission fix
This commit is contained in:
@@ -68,9 +68,6 @@ WORKDIR /app/code/
|
|||||||
# Install uv for the non-root user
|
# Install uv for the non-root user
|
||||||
COPY --from=ghcr.io/astral-sh/uv:0.7.19 /uv /uvx /usr/local/bin/
|
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
|
# Install Python dependencies
|
||||||
RUN uv sync --all-extras
|
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
|
mkdir -p /tmp/vite-temp
|
||||||
|
|
||||||
# ensure that data directory is owned by 'cloudron' user
|
# 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
|
cd /app/data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user