Download Dockerfile from Nikpatil/Email_Classification_For_Support_Team: direct link, hf CLI and curl.
- Browser
- Download file 416 Bytes
-
https://huggingface.co/spaces/Nikpatil/Email_Classification_For_Support_Team/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Nikpatil/Email_Classification_For_Support_Team/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Nikpatil/Email_Classification_For_Support_Team/resolve/main/Dockerfile
416 Bytes
| FROM python:3.9-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| COPY . /app | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| build-essential \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| # (Optional) If your utils.py uses spaCy | |
| RUN python -m spacy download en_core_web_sm | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |