Update
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
FROM ghcr.io/astral-sh/uv:0.2.12 as uv
|
3 |
|
4 |
# Main application image
|
5 |
-
FROM nvidia/cuda:
|
6 |
|
7 |
# Set home to the user's home directory
|
8 |
ENV DEBIAN_FRONTEND=noninteractive \
|
@@ -58,7 +58,7 @@ COPY --chown=user requirements.txt .
|
|
58 |
|
59 |
# Install Python packages with uv caching
|
60 |
RUN --mount=type=cache,target=$UV_CACHE_DIR,uid=1000,gid=1000 \
|
61 |
-
/uv pip install torch
|
62 |
|
63 |
# Install build dependencies for flash-attn
|
64 |
RUN --mount=type=cache,target=$UV_CACHE_DIR,uid=1000,gid=1000 \
|
|
|
2 |
FROM ghcr.io/astral-sh/uv:0.2.12 as uv
|
3 |
|
4 |
# Main application image
|
5 |
+
FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
|
6 |
|
7 |
# Set home to the user's home directory
|
8 |
ENV DEBIAN_FRONTEND=noninteractive \
|
|
|
58 |
|
59 |
# Install Python packages with uv caching
|
60 |
RUN --mount=type=cache,target=$UV_CACHE_DIR,uid=1000,gid=1000 \
|
61 |
+
/uv pip install torch torchvision
|
62 |
|
63 |
# Install build dependencies for flash-attn
|
64 |
RUN --mount=type=cache,target=$UV_CACHE_DIR,uid=1000,gid=1000 \
|