Spaces:
Runtime error
Runtime error
Download Dockerfile from omm7/boston_backend: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/spaces/omm7/boston_backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/omm7/boston_backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/omm7/boston_backend/resolve/main/Dockerfile
301 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| COPY boston_housing_model.pkl . | |
| COPY preprocessor.pkl . | |
| # Expose the port Hugging Face provides | |
| EXPOSE ${PORT} | |
| # Use the PORT environment variable | |
| CMD ["python", "app.py"] | |