# Use the official Python image from the Docker Hub FROM python:3.10 # Set the working directory in the container WORKDIR /app # Copy the requirements file into the container COPY ./app/requirements.txt . # Install any dependencies specified in requirements.txt RUN pip install --no-cache-dir -r requirements.txt # Copy the application code into the container COPY ./app /app # Copy the frontend files into the container COPY ./frontend /app/frontend # Make port 5000 available to the world outside this container EXPOSE 1337 # Run the application CMD ["python", "rag_system_with_agents.py"]