Spaces:
Running
Running
Download Dockerfile from Emannn2004/ai_Dataanalyst: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/spaces/Emannn2004/ai_Dataanalyst/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Emannn2004/ai_Dataanalyst/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Emannn2004/ai_Dataanalyst/resolve/main/Dockerfile
394 Bytes
| # Base image | |
| FROM python:3.12-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy project files | |
| COPY . /app | |
| # Upgrade pip | |
| RUN pip install --upgrade pip | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose FastAPI port | |
| EXPOSE 7860 | |
| # Set command for HF Spaces to run your app | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |