Spaces:
Build error
Build error
Download Dockerfile from thanhnv2323/docker-detection-fastapi: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/spaces/thanhnv2323/docker-detection-fastapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/thanhnv2323/docker-detection-fastapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/thanhnv2323/docker-detection-fastapi/resolve/main/Dockerfile
367 Bytes
| FROM tiangolo/uvicorn-gunicorn:python3.10 | |
| RUN apt update && \ | |
| apt install -y htop libgl1-mesa-glx libglib2.0-0 | |
| COPY requirements.txt /tmp/requirements.txt | |
| RUN pip install --no-cache-dir -r /tmp/requirements.txt | |
| #ENTRYPOINT | |
| CMD uvicorn main:app --reload --host 0.0.0.0 --port 7860 | |
| #CMD ["uvicorn", "main:app", "--reload", "--host", "0.0.0.0", "--port", "7860"] |