| FROM python:3.10 | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy everything into the container | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose the port Chainlit will run on | |
| EXPOSE 7860 | |
| # Run the Chainlit app | |
| CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"] |