mokoringo commited on
Commit
be3dd3d
1 Parent(s): fe70f59

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -10,8 +10,8 @@ ENV PYTHONUNBUFFERED 1
10
  ENV MODEL '/models/llama-2-7b-chat.bin'
11
  ENV MODEL_DOWNLOAD_URL 'https://huggingface.co/TheBloke/Nous-Hermes-Llama-2-7B-GGML/resolve/main/nous-hermes-llama-2-7b.ggmlv3.q4_0.bin'
12
 
13
- # Download Model to path
14
- RUN curl https://huggingface.co/TheBloke/Nous-Hermes-Llama-2-7B-GGML/resolve/main/nous-hermes-llama-2-7b.ggmlv3.q4_0.bin -o '/models/llama-2-7b-chat.bin'
15
 
16
  # Build the project
17
  RUN make build
 
10
  ENV MODEL '/models/llama-2-7b-chat.bin'
11
  ENV MODEL_DOWNLOAD_URL 'https://huggingface.co/TheBloke/Nous-Hermes-Llama-2-7B-GGML/resolve/main/nous-hermes-llama-2-7b.ggmlv3.q4_0.bin'
12
 
13
+ # Copy Model to path
14
+ COPY ./models/nous-hermes-llama-2-7b.ggmlv3.q4_0.bin /models/llama-2-7b-chat.bin
15
 
16
  # Build the project
17
  RUN make build