-
Notifications
You must be signed in to change notification settings - Fork 475
/
Dockerfile
36 lines (32 loc) · 852 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#---
# name: jetson-copilot
# alias: jetrag
# group: rag
# depends: [pytorch, ollama, transformers]
# requires: '>=34.1.0'
# docs: docs.md
#---
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
RUN pip3 install --no-cache-dir --verbose \
llama-index-core \
llama-index-readers-file \
llama-index-llms-openai \
llama-index-llms-ollama \
llama-index-embeddings-openai \
llama-index-embeddings-ollama \
llama-index-readers-web \
openpyxl python-pptx Pillow docx2txt\
chromadb \
pypdf \
pytest \
boto3 \
jetson-stats \
unstructured \
streamlit \
ollama
WORKDIR /opt/jetson-copilot/
COPY app.py /opt/jetson-copilot/app.py
COPY .streamlit/ /opt/jetson-copilot/.streamlit
COPY static/ /opt/jetson-copilot/static
CMD /start_ollama && /bin/bash