File size: 605 Bytes
447d754 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # 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"]
|