Download Dockerfile from mgbam/AICEO: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/spaces/mgbam/AICEO/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mgbam/AICEO/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mgbam/AICEO/resolve/main/Dockerfile
429 Bytes
| FROM python:3.10-slim | |
| WORKDIR /code | |
| # Install Redis | |
| RUN apt-get update && apt-get install -y redis && rm -rf /var/lib/apt/lists/* | |
| # Install Python deps | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy source | |
| COPY . . | |
| # Make start.sh executable | |
| RUN chmod +x start.sh | |
| # Expose both ports (7860 for Streamlit, 7861 for FastAPI) | |
| EXPOSE 7860 7861 | |
| # Run startup script | |
| ENTRYPOINT ["./start.sh"] | |