FROM python:3.10-slim # Set working directory WORKDIR /app # Copy everything to /app COPY . /app # Install required packages RUN pip install --no-cache-dir -r requirements.txt # Make sure /data exists RUN mkdir -p /data # Expose the port your Flask app runs on EXPOSE 7860 # Run the app CMD ["python", "app.py"]