Restructure: Move services from root to unified repo
Moved updated services from /home/sam/development/ root into aboutme_chat_demo/: - knowledge_service/ (with ChromaDB, gitea_scraper, FastAPI) - langgraph_service/ (with LangGraph agent orchestration) - airflow/ (with DAGs for scheduled ingestion) All services now in single repo location. Modular docker-compose files per service maintained. Removed duplicate nested directories. Updated files reflect latest working versions.
This commit is contained in:
@@ -6,16 +6,22 @@ RUN apt-get update && apt-get install -y \
|
||||
g++ \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Create app directory
|
||||
# Create directories
|
||||
RUN mkdir -p /app/packages /app/code
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy requirements
|
||||
# Install packages to isolated directory
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN pip install --target=/app/packages -r requirements.txt
|
||||
|
||||
# Copy code
|
||||
COPY . .
|
||||
COPY . /app/code/
|
||||
|
||||
ENV PYTHONPATH=/app/packages
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
WORKDIR /app/code
|
||||
EXPOSE 8090
|
||||
|
||||
CMD ["python3", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8090"]
|
||||
|
||||
Reference in New Issue
Block a user