Download Dockerfile from Raiff1982/Codettev3: direct link, hf CLI and curl.
- Browser
- Download file 416 Bytes
-
https://huggingface.co/spaces/Raiff1982/Codettev3/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Raiff1982/Codettev3/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Raiff1982/Codettev3/resolve/main/Dockerfile
416 Bytes
| # Use Python base image | |
| FROM python:3.11-slim | |
| # Install dependencies | |
| RUN apt-get update && apt-get install -y build-essential git && \ | |
| pip install --upgrade pip && \ | |
| pip install aiohttp transformers scikit-learn psutil cryptography networkx vaderSentiment nltk | |
| # Copy Codette code | |
| WORKDIR /app | |
| COPY . . | |
| # Download NLTK data | |
| RUN python -m nltk.downloader punkt | |
| # Start application | |
| CMD ["python", "app.py"] |