Download Dockerfile from AnkurDham/finetuningLLM-ProductExercise: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/spaces/AnkurDham/finetuningLLM-ProductExercise/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AnkurDham/finetuningLLM-ProductExercise/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AnkurDham/finetuningLLM-ProductExercise/resolve/main/Dockerfile
288 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --upgrade pip | |
| RUN pip install autotrain-advanced | |
| COPY app.py /app/app.py | |
| EXPOSE 7860 | |
| CMD ["autotrain", "app", "--host", "0.0.0.0", "--port", "7860"] | |