Download Dockerfile from Amna2024/RAG-API: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/spaces/Amna2024/RAG-API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Amna2024/RAG-API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Amna2024/RAG-API/resolve/main/Dockerfile
283 Bytes
| FROM python:3.10 | |
| WORKDIR /app | |
| COPY . /app/ | |
| RUN mkdir -p /app/chromadb && chmod -R 777 /app/chromadb | |
| # RUN chmod 777 /app/chromadb/chroma.sqlite3 | |
| RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |