Spaces:
Sleeping
Sleeping
permission issue fix
Browse files- 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 |
-
#
|
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
|