boston_backend / Dockerfile
omm7's picture
Update Dockerfile
f76e588 verified
raw
history blame contribute delete
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"]