Spaces:
Sleeping
Sleeping
perms
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -5,6 +5,9 @@ COPY --from=ghcr.io/astral-sh/uv:0.7.3 /uv /uvx /bin/
|
|
5 |
# Set working directory
|
6 |
WORKDIR /data
|
7 |
|
|
|
|
|
|
|
8 |
# Install dependencies using uv and pyproject.toml
|
9 |
COPY ./pyproject.toml ./pyproject.toml
|
10 |
RUN uv sync
|
|
|
5 |
# Set working directory
|
6 |
WORKDIR /data
|
7 |
|
8 |
+
# Create and set permissions for uv cache
|
9 |
+
RUN mkdir -p /.cache/uv && chmod 777 /.cache/uv
|
10 |
+
|
11 |
# Install dependencies using uv and pyproject.toml
|
12 |
COPY ./pyproject.toml ./pyproject.toml
|
13 |
RUN uv sync
|