Spaces:
Sleeping
Sleeping
FROM nvidia/cuda:12.1.1-base-ubuntu22.04 | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
python3.10 \ | |
python3-pip \ | |
git \ | |
curl \ | |
cmake \ | |
build-essential \ | |
libssl-dev \ | |
libopenblas-dev \ | |
&& rm -rf /var/lib/apt/lists/* | |
WORKDIR /app | |
# Upgrade pip and install setuptools first | |
RUN pip install --no-cache-dir --upgrade pip setuptools | |
# Install requirements | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
CMD ["python3", "app.py"] |