Spaces:
Sleeping
Sleeping
Download Dockerfile from duc08042006/Rag_ChatBot: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/duc08042006/Rag_ChatBot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/duc08042006/Rag_ChatBot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/duc08042006/Rag_ChatBot/resolve/main/Dockerfile
380 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE 1 | |
| ENV PYTHONUNBUFFERED 1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN mkdir -p /app/data /app/VectorDB | |
| EXPOSE 7860 | |
| CMD uvicorn api:app --host 0.0.0.0 --port 7860 | |