Update dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
@@ -21,6 +21,13 @@ ENV PATH="/root/.cargo/bin:${PATH}"
|
|
21 |
RUN pip install --user --no-cache-dir -r requirements.txt
|
22 |
RUN pip install --user --no-cache-dir -r lightrag/api/requirements.txt
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
# Final stage
|
25 |
FROM python:3.11-slim
|
26 |
|
|
|
21 |
RUN pip install --user --no-cache-dir -r requirements.txt
|
22 |
RUN pip install --user --no-cache-dir -r lightrag/api/requirements.txt
|
23 |
|
24 |
+
# Install depndencies for default storage
|
25 |
+
RUN pip install --user --no-cache-dir nano-vectordb networkx
|
26 |
+
# Install depndencies for default LLM
|
27 |
+
RUN pip install --user --no-cache-dir openai ollama tiktoken
|
28 |
+
# Install depndencies for default document loader
|
29 |
+
RUN pip install --user --no-cache-dir pypdf2 python-docx python-pptx openpyxl
|
30 |
+
|
31 |
# Final stage
|
32 |
FROM python:3.11-slim
|
33 |
|