Spaces:
Runtime error
Runtime error
File size: 301 Bytes
333ca01 be5cc7a b029c6f e4cf043 be5cc7a 333ca01 be5cc7a b029c6f be5cc7a f76e588 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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"]
|