Update dockerfile

This commit is contained in:
yangdx
2025-05-14 11:11:27 +08:00
parent ac2b6af97e
commit 313b7d5423

View File

@@ -21,6 +21,13 @@ ENV PATH="/root/.cargo/bin:${PATH}"
RUN pip install --user --no-cache-dir -r requirements.txt RUN pip install --user --no-cache-dir -r requirements.txt
RUN pip install --user --no-cache-dir -r lightrag/api/requirements.txt RUN pip install --user --no-cache-dir -r lightrag/api/requirements.txt
# Install depndencies for default storage
RUN pip install --user --no-cache-dir nano-vectordb networkx
# Install depndencies for default LLM
RUN pip install --user --no-cache-dir openai ollama tiktoken
# Install depndencies for default document loader
RUN pip install --user --no-cache-dir pypdf2 python-docx python-pptx openpyxl
# Final stage # Final stage
FROM python:3.11-slim FROM python:3.11-slim