Download Dockerfile from viraj-421/Agentic-AI-Document-Review-System: direct link, hf CLI and curl.
- Browser
- Download file 462 Bytes
-
https://huggingface.co/spaces/viraj-421/Agentic-AI-Document-Review-System/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/viraj-421/Agentic-AI-Document-Review-System/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/viraj-421/Agentic-AI-Document-Review-System/resolve/main/Dockerfile
462 Bytes
| FROM python:3.10 | |
| # Set the working directory | |
| WORKDIR /code | |
| # Copy the requirements file and install dependencies | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| # Copy the rest of the application | |
| COPY . . | |
| # Expose port 7860 which is the default for Hugging Face Spaces | |
| EXPOSE 7860 | |
| # Run the FastAPI application on port 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |