Spaces:
Sleeping
Sleeping
Download Dockerfile from A7md47/image_model: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/A7md47/image_model/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/A7md47/image_model/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/A7md47/image_model/resolve/main/Dockerfile
253 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV MODEL_PATH=EfficientNetV2S_AffectNet_v2.keras | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |