Spaces:
Running
Running
Download Dockerfile from BonusLockSMith/text-summarizer: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/spaces/BonusLockSMith/text-summarizer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/BonusLockSMith/text-summarizer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/BonusLockSMith/text-summarizer/resolve/main/Dockerfile
251 Bytes
| # Text Summarizer — runs on Hugging Face Spaces, Render, Railway, Fly.io, etc. | |
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |