Spaces:
Sleeping
Sleeping
perms
Browse files- Dockerfile +0 -10
Dockerfile
CHANGED
@@ -2,16 +2,6 @@ FROM python:3.12
|
|
2 |
|
3 |
COPY --from=ghcr.io/astral-sh/uv:0.7.3 /uv /uvx /bin/
|
4 |
|
5 |
-
# Set environment variables
|
6 |
-
ENV VIRTUAL_ENV=/opt/venv \
|
7 |
-
PATH="/opt/venv/bin:$PATH" \
|
8 |
-
UV_CACHE_DIR=/tmp/.cache/uv
|
9 |
-
|
10 |
-
# Create directories and set permissions
|
11 |
-
RUN mkdir -p /data /tmp/.cache/uv && \
|
12 |
-
chown -R nobody:nogroup /tmp/.cache/uv && \
|
13 |
-
chmod -R 777 /tmp/.cache/uv
|
14 |
-
|
15 |
# Set working directory
|
16 |
WORKDIR /data
|
17 |
|
|
|
2 |
|
3 |
COPY --from=ghcr.io/astral-sh/uv:0.7.3 /uv /uvx /bin/
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
# Set working directory
|
6 |
WORKDIR /data
|
7 |
|