# AI Virtual Pod - Streamlit application FROM python:3.11-slim WORKDIR /app # Install dependencies first for better layer caching COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY app.py . COPY agents/ agents/ COPY core/ core/ # ChromaDB may write to disk; optional data dir ENV CHROMA_PERSIST_DIR=/app/chroma_db # Streamlit runs on 8501 by default EXPOSE 8501 # Run the app (bind to 0.0.0.0 so it's reachable from outside the container) CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]