# Use Python 3.9 FROM python:3.9 # Create a working directory WORKDIR /app # Copy files and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of your code COPY . . # Run Chainlit on port 7860 CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]