Download Dockerfile from mgbam/AICEO: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/spaces/mgbam/AICEO/resolve/74575acfb18e167e2669eae0b9ebcdcd289112d8/Dockerfile
- Command line
-
hf download hf://spaces/mgbam/AICEO@74575acfb18e167e2669eae0b9ebcdcd289112d8/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mgbam/AICEO/resolve/74575acfb18e167e2669eae0b9ebcdcd289112d8/Dockerfile
405 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/* | |
| # Copy & install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application files | |
| COPY . . | |
| # Ensure the startup script is executable | |
| RUN chmod +x start.sh | |
| # Launch everything via start.sh | |
| ENTRYPOINT ["./start.sh"] | |