Spaces:
Sleeping
Sleeping
Download dockerfile from RJuro/hotel-cancel-api: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/RJuro/hotel-cancel-api/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/RJuro/hotel-cancel-api/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/RJuro/hotel-cancel-api/resolve/main/dockerfile
282 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 MODEL_PATH=/app/hotel_cancellation_model.pkl | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD uvicorn main:app --host 0.0.0.0 --port ${PORT:-7860} |