Spaces:
Build error
Build error
Download Dockerfile from mia0601/SmartPhoto: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/spaces/mia0601/SmartPhoto/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mia0601/SmartPhoto/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mia0601/SmartPhoto/resolve/main/Dockerfile
250 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y git libgl1-mesa-glx | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |