Spaces:
Sleeping
Sleeping
Download Dockerfile from pbichpur/NotebookLMClone: direct link, hf CLI and curl.
- Browser
- Download file 502 Bytes
-
https://huggingface.co/spaces/pbichpur/NotebookLMClone/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/pbichpur/NotebookLMClone/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/pbichpur/NotebookLMClone/resolve/main/Dockerfile
502 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| PORT=7860 \ | |
| BACKEND_URL=http://127.0.0.1:8000 \ | |
| STORAGE_BASE_DIR=/data | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ffmpeg \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt ./ | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| COPY . . | |
| RUN mkdir -p /data /app/uploads | |
| EXPOSE 7860 | |
| CMD ["/app/start_hf.sh"] | |