Spaces:
Sleeping
Sleeping
Download backend/Dockerfile from build-small-hackathon/FinSightAI: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/build-small-hackathon/FinSightAI/resolve/main/backend/Dockerfile
- Command line
-
hf download hf://spaces/build-small-hackathon/FinSightAI/backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/build-small-hackathon/FinSightAI/resolve/main/backend/Dockerfile
400 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app/backend | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN mkdir -p /app/data | |
| EXPOSE 8000 | |
| CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] | |