dtyago commited on
Commit
0d44817
1 Parent(s): ae03c6a

permission issue fix

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -18,12 +18,12 @@ ENV HOME=/home/user \
18
  GGUF_MODEL_URL='https://huggingface.co/BitBasher/llama-2-7b-mini-ibased-GGUF/resolve/main/llama-2-7b-mini-ibased.Q5_K_M.gguf' \
19
  MODEL_CLASS='gguf' \
20
  CHROMADB_LOC='/home/user/data/chromadb' \
21
- HF_HOME=/data/.huggingface
22
 
23
  # Set the non-root user's home directory as the working directory
24
  WORKDIR $HOME
25
 
26
- # Correctly create a symbolic link from /data to /home/user/data
27
  RUN ln -s /data /home/user/data
28
 
29
  # Change to the non-root user
 
18
  GGUF_MODEL_URL='https://huggingface.co/BitBasher/llama-2-7b-mini-ibased-GGUF/resolve/main/llama-2-7b-mini-ibased.Q5_K_M.gguf' \
19
  MODEL_CLASS='gguf' \
20
  CHROMADB_LOC='/home/user/data/chromadb' \
21
+ HF_HOME=/data/.huggingface
22
 
23
  # Set the non-root user's home directory as the working directory
24
  WORKDIR $HOME
25
 
26
+ # Create a symbolic link from /data to /home/user/data
27
  RUN ln -s /data /home/user/data
28
 
29
  # Change to the non-root user