Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
-
FROM pytorch/pytorch:2.4.0-cuda12.1-cudnn9-
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY . .
|
| 6 |
|
| 7 |
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 10 |
pip install --no-cache-dir \
|
|
|
|
| 1 |
+
FROM pytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY . .
|
| 6 |
|
| 7 |
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
| 8 |
+
RUN apt-get install -y python3.10 python3.10-dev python3.10-distutils && \
|
| 9 |
+
ln -sf /usr/bin/python3.10 /usr/bin/python3 && \
|
| 10 |
+
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
|
| 11 |
|
| 12 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 13 |
pip install --no-cache-dir \
|