Spaces:
Sleeping
Sleeping
Download Dockerfile from itsHamza/Pest_Detection: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/itsHamza/Pest_Detection/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/itsHamza/Pest_Detection/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/itsHamza/Pest_Detection/resolve/main/Dockerfile
253 Bytes
| FROM python:3.10 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| COPY growlens_efficientnet_model.h5 . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |