Making UI changes

This commit is contained in:
Ryan Chen
2025-12-24 17:12:56 -08:00
parent 70799ffb7d
commit f5e2d68cd2
17 changed files with 3262 additions and 1747 deletions

View File

@@ -0,0 +1,33 @@
FROM python:3.13-slim
WORKDIR /app
# Install system dependencies and uv
RUN apt-get update && apt-get install -y \
build-essential \
curl \
&& rm -rf /var/lib/apt/lists/* \
&& curl -LsSf https://astral.sh/uv/install.sh | sh
# Add uv to PATH
ENV PATH="/root/.local/bin:$PATH"
# Copy dependency files
COPY pyproject.toml ./
# Install Python dependencies using uv
RUN uv pip install --system -e .
# Create ChromaDB and database directories
RUN mkdir -p /app/chromadb /app/database
# Expose port
EXPOSE 8080
# Set environment variables
ENV PYTHONPATH=/app
ENV CHROMADB_PATH=/app/chromadb
ENV PYTHONUNBUFFERED=1
# The actual source code will be mounted as a volume
# No CMD here - will be specified in docker-compose