Spaces:
Running
Running
Download Dockerfile from amer003100/vectorless_RAG: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/amer003100/vectorless_RAG/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/amer003100/vectorless_RAG/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/amer003100/vectorless_RAG/resolve/main/Dockerfile
375 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ | |
| COPY requirements.txt pyproject.toml uv.lock ./ | |
| RUN uv pip install --system -r requirements.txt | |
| COPY app/ ./app/ | |
| WORKDIR /app/app | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |