Spaces:
Build error
Build error
Download Dockerfile from nsultan5/TextSummarizer: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/spaces/nsultan5/TextSummarizer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/nsultan5/TextSummarizer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nsultan5/TextSummarizer/resolve/main/Dockerfile
446 Bytes
| FROM python:3.10-slim | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| git-lfs \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 \ | |
| cmake \ | |
| rsync \ | |
| libgl1 \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && git lfs install | |
| # Copy all files into the container | |
| COPY . /app | |
| WORKDIR /app | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Start your app | |
| CMD ["python", "app.py"] | |