ofermend commited on
Commit
715b903
·
verified ·
1 Parent(s): 47128c7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,6 +8,9 @@ RUN pip3 install --no-cache-dir --upgrade pip
8
  RUN pip3 install --no-cache-dir wheel setuptools build
9
  RUN pip3 install --no-cache-dir --use-pep517 -r /app/requirements.txt
10
 
 
 
 
11
  # User
12
  RUN useradd -m -u 1000 user
13
  USER user
 
8
  RUN pip3 install --no-cache-dir wheel setuptools build
9
  RUN pip3 install --no-cache-dir --use-pep517 -r /app/requirements.txt
10
 
11
+ RUN mkdir -p /usr/local/lib/python3.11/site-packages/llama_index/core/_static/tiktoken_cache \
12
+ && chown -R 1000:1000 /usr/local/lib/python3.11/site-packages/llama_index
13
+
14
  # User
15
  RUN useradd -m -u 1000 user
16
  USER user