FROM python:3.10-slim # Set working directory WORKDIR /app # Copy requirements and install COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy all source files COPY . . # Expose the default port EXPOSE 8080 # Command to run the application CMD ["python", "run.py"]