Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
|
@@ -3,11 +3,6 @@ FROM python:3.12-slim
|
|
| 3 |
# Avoid interactive prompts during apt install
|
| 4 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
|
| 6 |
-
# Use a more stable Debian mirror and retry on failures
|
| 7 |
-
RUN sed -i 's|deb.debian.org|deb.debian.net|g' /etc/apt/sources.list && \
|
| 8 |
-
apt-get update -o Acquire::Retries=3 && \
|
| 9 |
-
apt-get install -y --no-install-recommends git && \
|
| 10 |
-
rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Install CPU-only PyTorch and vLLM
|
| 13 |
RUN pip install --no-cache-dir torch==2.4.0 --index-url https://download.pytorch.org/whl/cpu
|
|
|
|
| 3 |
# Avoid interactive prompts during apt install
|
| 4 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# Install CPU-only PyTorch and vLLM
|
| 8 |
RUN pip install --no-cache-dir torch==2.4.0 --index-url https://download.pytorch.org/whl/cpu
|