Spaces:
Sleeping
Sleeping
Commit
·
c85d682
1
Parent(s):
fdee020
Add uv docker
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
FROM python:3.
|
2 |
-
|
3 |
|
4 |
|
5 |
# Set up a new user named "user" with user ID 1000
|
@@ -21,7 +21,7 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
|
21 |
# Upgrade pip
|
22 |
# RUN pip install --no-cache-dir --upgrade pip
|
23 |
|
24 |
-
RUN
|
25 |
|
26 |
# Install requirements
|
27 |
RUN uv pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
1 |
+
FROM python:3.10-slim-bookworm
|
2 |
+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
3 |
|
4 |
|
5 |
# Set up a new user named "user" with user ID 1000
|
|
|
21 |
# Upgrade pip
|
22 |
# RUN pip install --no-cache-dir --upgrade pip
|
23 |
|
24 |
+
RUN uv venv
|
25 |
|
26 |
# Install requirements
|
27 |
RUN uv pip install --no-cache-dir --upgrade -r requirements.txt
|