Spaces:
Runtime error
Runtime error
Download Dockerfile from Gopal05/Report-Generatio-System-Radiology: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/Gopal05/Report-Generatio-System-Radiology/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Gopal05/Report-Generatio-System-Radiology/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Gopal05/Report-Generatio-System-Radiology/resolve/main/Dockerfile
400 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY . /app | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| gcc \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV BACKEND_URL=http://127.0.0.1:8000 | |
| EXPOSE 7860 | |
| EXPOSE 8000 | |
| CMD sh -c "uvicorn main:app --host 0.0.0.0 --port 8000 & python ui.py" |