Spaces:
Configuration error
Configuration error
Download platform/api/Dockerfile from Sakshamyadav15/SupportRAG: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/Sakshamyadav15/SupportRAG/resolve/main/platform/api/Dockerfile
- Command line
-
hf download hf://spaces/Sakshamyadav15/SupportRAG/platform/api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sakshamyadav15/SupportRAG/resolve/main/platform/api/Dockerfile
349 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application code | |
| COPY app/ ./app/ | |
| # Set environment variables | |
| ENV PYTHONUNBUFFERED=1 | |
| # Expose port | |
| EXPOSE 8000 | |
| # Run the API server | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] | |