# Use Python base image FROM python:3.11 # Set working directory WORKDIR /app # Copy files to working directory COPY . /app # Install dependencies from requirements.txt RUN pip install --no-cache-dir -r requirements.txt # Expose the port gunicorn will run on EXPOSE 7860 # Command to run your Flask app with Gunicorn CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]