Spaces:
Configuration error
Configuration error
Download Dockerfile from whdevil/CIVICPULSEai: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/whdevil/CIVICPULSEai/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/whdevil/CIVICPULSEai/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/whdevil/CIVICPULSEai/resolve/main/Dockerfile
356 Bytes
| # Base image | |
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all files into container | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir \ | |
| flask \ | |
| flask-cors \ | |
| openai \ | |
| pydantic \ | |
| python-dotenv | |
| # Expose port (IMPORTANT for HF Spaces) | |
| EXPOSE 7860 | |
| # Run app | |
| CMD ["python", "app.py"] |