Spaces:
Sleeping
Sleeping
Download Dockerfile from husseinelsaadi/Codingo: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/spaces/husseinelsaadi/Codingo/resolve/refs%2Fpr%2F2/Dockerfile
- Command line
-
hf download hf://spaces/husseinelsaadi/Codingo@refs/pr/2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/husseinelsaadi/Codingo/resolve/refs%2Fpr%2F2/Dockerfile
473 Bytes
| # Use an NVIDIA PyTorch container with cuDNN 9.1 support | |
| FROM nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu22.04 | |
| # Basic setup | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y \ | |
| python3 python3-pip ffmpeg git libsndfile1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Set up Python environment | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| # Copy app files | |
| COPY . /app | |
| WORKDIR /app | |
| CMD ["python3", "app.py"] | |