Download Dockerfile from lyx51/Housing-Price-Estimator-FastAPI: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/lyx51/Housing-Price-Estimator-FastAPI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lyx51/Housing-Price-Estimator-FastAPI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lyx51/Housing-Price-Estimator-FastAPI/resolve/main/Dockerfile
253 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port ${PORT}"] |