Spaces:
Sleeping
Sleeping
Download Dockerfile from madhwdh11/stroke_detect: direct link, hf CLI and curl.
- Browser
- Download file 377 Bytes
-
https://huggingface.co/spaces/madhwdh11/stroke_detect/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/madhwdh11/stroke_detect/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/madhwdh11/stroke_detect/resolve/main/Dockerfile
377 Bytes
| # 1. Base image | |
| FROM python:3.10-slim | |
| # 2. Create & switch to /app | |
| WORKDIR /app | |
| # 3. Copy all code & model into the image | |
| COPY . . | |
| # 4. Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # 5. Expose the port your app will run on | |
| EXPOSE 7860 | |
| # 6. Launch Uvicorn, pointing at main:app | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |