Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -13,14 +13,15 @@ RUN apt-get update && apt-get install -y \
|
|
13 |
RUN useradd -m -u 1000 user
|
14 |
WORKDIR /app
|
15 |
|
|
|
16 |
# Install Python dependencies in correct order
|
17 |
RUN pip install --no-cache-dir --upgrade pip && \
|
18 |
# Install numpy<2 first for compatibility
|
19 |
pip install --no-cache-dir 'numpy<2' && \
|
20 |
# Install PyTorch and other core dependencies
|
21 |
pip install --no-cache-dir \
|
22 |
-
torch
|
23 |
-
torchvision
|
24 |
ninja \
|
25 |
transformers \
|
26 |
accelerate \
|
|
|
13 |
RUN useradd -m -u 1000 user
|
14 |
WORKDIR /app
|
15 |
|
16 |
+
|
17 |
# Install Python dependencies in correct order
|
18 |
RUN pip install --no-cache-dir --upgrade pip && \
|
19 |
# Install numpy<2 first for compatibility
|
20 |
pip install --no-cache-dir 'numpy<2' && \
|
21 |
# Install PyTorch and other core dependencies
|
22 |
pip install --no-cache-dir \
|
23 |
+
torch \
|
24 |
+
torchvision \
|
25 |
ninja \
|
26 |
transformers \
|
27 |
accelerate \
|