mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-03 01:30:11 +00:00
39 lines
688 B
Docker
39 lines
688 B
Docker
FROM python:3.10
|
|
|
|
WORKDIR /app
|
|
|
|
# Install system dependencies
|
|
RUN apt-get update && apt-get install -y \
|
|
gcc \
|
|
g++ \
|
|
gfortran \
|
|
libportaudio2 \
|
|
portaudio19-dev \
|
|
ffmpeg \
|
|
libavcodec-dev \
|
|
libavformat-dev \
|
|
libavutil-dev \
|
|
chromium \
|
|
chromium-driver \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip cache purge
|
|
|
|
# Install dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy application code
|
|
COPY api.py .
|
|
COPY sources/ ./sources/
|
|
COPY prompts/ ./prompts/
|
|
COPY crx/ crx/
|
|
COPY llm_router/ llm_router/
|
|
COPY .env .
|
|
COPY config.ini .
|
|
|
|
# Expose port
|
|
EXPOSE 8000
|
|
|
|
# Run the application
|
|
CMD ["python3", "api.py"] |