Spaces:
Runtime error
Runtime error
File size: 336 Bytes
2c73e78 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# Use official Python image
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy files
COPY app.py .
COPY requirements.txt .
COPY best_sales_forecasting_model.pkl .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port for HF Spaces
EXPOSE 7860
# Start the API
CMD ["python", "app.py"] |