Spaces:
Runtime error
Runtime error
Download Dockerfile from Hayloo9838/dgapiv2: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/spaces/Hayloo9838/dgapiv2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Hayloo9838/dgapiv2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Hayloo9838/dgapiv2/resolve/main/Dockerfile
251 Bytes
| FROM python:3.10 | |
| WORKDIR /code | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| # 👇 This is where you messed up before | |
| COPY app.py /code/ | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |