Spaces:
Paused
Paused
Download Dockerfile from gere/FinancialAgent: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/spaces/gere/FinancialAgent/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/gere/FinancialAgent/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/gere/FinancialAgent/resolve/main/Dockerfile
575 Bytes
| FROM nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PIP_NO_CACHE_DIR=1 | |
| RUN apt-get update && apt-get install -y \ | |
| python3 \ | |
| python3-pip \ | |
| python3-dev \ | |
| build-essential \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN python3 -m pip install --upgrade pip | |
| RUN python3 -m pip install -r requirements.txt | |
| COPY . . | |
| RUN mkdir -p /app/output | |
| EXPOSE 7860 | |
| CMD ["python3", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |