Backend / Dockerfile
MuthuVaidy's picture
Upload folder using huggingface_hub
4411564 verified
raw
history blame contribute delete
337 Bytes
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy all backend files
COPY . .
# Install dependencies
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Run with gunicorn (Flask app inside app.py, object name = sales_forecast_api)
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:sales_forecast_api"]