Download Dockerfile from DeimosJS3/Final: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/spaces/DeimosJS3/Final/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/DeimosJS3/Final/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/DeimosJS3/Final/resolve/main/Dockerfile
226 Bytes
| FROM python:3.9 | |
| COPY . . | |
| RUN apt-get update && apt-get install -y unzip | |
| RUN unzip mi_dataset.zip -d ./images | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |