Download Dockerfile from ndgold/wcaguar: direct link, hf CLI and curl.
- Browser
- Download file 666 Bytes
-
https://huggingface.co/spaces/ndgold/wcaguar/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ndgold/wcaguar/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ndgold/wcaguar/resolve/main/Dockerfile
666 Bytes
| FROM nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_DISABLE_PIP_VERSION_CHECK=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| python3.11 python3.11-venv python3-pip \ | |
| ffmpeg git ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt /app/requirements.txt | |
| RUN python3.11 -m pip install --upgrade pip && python3.11 -m pip install -r /app/requirements.txt | |
| COPY . /app | |
| EXPOSE 7860 | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 \ | |
| GRADIO_SERVER_PORT=7860 | |
| CMD ["python3.11", "app.py"] | |