Spaces:
Runtime error
Runtime error
Download Dockerfile from Biswajeet01/CreatorAI-Platform: direct link, hf CLI and curl.
- Browser
- Download file 585 Bytes
-
https://huggingface.co/spaces/Biswajeet01/CreatorAI-Platform/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Biswajeet01/CreatorAI-Platform/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Biswajeet01/CreatorAI-Platform/resolve/main/Dockerfile
585 Bytes
| FROM nvidia/cuda:12.4.0-runtime-ubuntu22.04 | |
| WORKDIR /app | |
| # System dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| python3 python3-pip python3-venv \ | |
| libgl1-mesa-glx libglib2.0-0 && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Python dependencies | |
| COPY requirements.txt . | |
| RUN pip3 install --no-cache-dir -r requirements.txt | |
| # Application code | |
| COPY src/ ./src/ | |
| COPY libs/ ./libs/ | |
| COPY weights/ ./weights/ | |
| # Entry point | |
| EXPOSE 8501 | |
| CMD ["python3", "-m", "streamlit", "run", "src/ai_image_dashboard/app/streamlit_app.py", "--server.address", "0.0.0.0", "--server.port", "8501"] | |