Download Dockerfile.backend from nhttdo/MedChat: direct link, hf CLI and curl.
- Browser
- Download file 219 Bytes
-
https://huggingface.co/spaces/nhttdo/MedChat/resolve/main/Dockerfile.backend
- Command line
-
hf download hf://spaces/nhttdo/MedChat/Dockerfile.backend
-
curl -L -o Dockerfile.backend https://huggingface.co/spaces/nhttdo/MedChat/resolve/main/Dockerfile.backend
219 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements_api.txt . | |
| RUN pip install --no-cache-dir -r requirements_api.txt | |
| # Copy source | |
| COPY . . | |
| EXPOSE 8001 | |
| CMD ["python", "api_server_fastapi.py"] | |