Download Dockerfile from DeepLearning101/API-CIECIETAIPEI: direct link, hf CLI and curl.
- Browser
- Download file 184 Bytes
-
https://huggingface.co/spaces/DeepLearning101/API-CIECIETAIPEI/resolve/bbbd5c9e544e8667cddf5fe2e31455c6ca067d7d/Dockerfile
- Command line
-
hf download hf://spaces/DeepLearning101/API-CIECIETAIPEI@bbbd5c9e544e8667cddf5fe2e31455c6ca067d7d/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/DeepLearning101/API-CIECIETAIPEI/resolve/bbbd5c9e544e8667cddf5fe2e31455c6ca067d7d/Dockerfile
184 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |