Update Dockerfile
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
@@ -11,13 +11,15 @@ ENV EMBEDDING_MODEL_FILE=${EMBEDDING_MODEL_FILE}
|
|
11 |
ENV PROMPT_TEMPLATE=${PROMPT_TEMPLATE}
|
12 |
|
13 |
RUN apt-get update && apt-get install -y curl
|
|
|
|
|
14 |
|
15 |
-
RUN curl -LO https://huggingface.co/second-state/Llama-3-8B-Instruct-GGUF/resolve/main/Meta-Llama-3-8B-Instruct-Q5_K_M.gguf
|
16 |
RUN curl -LO https://huggingface.co/second-state/Nomic-embed-text-v1.5-Embedding-GGUF/resolve/main/nomic-embed-text-v1.5-f16.gguf
|
17 |
|
18 |
-
|
19 |
-
COPY $
|
20 |
-
|
21 |
RUN curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install_v2.sh | bash -s -- -v 0.13.5
|
22 |
RUN curl -LO https://github.com/LlamaEdge/LlamaEdge/releases/latest/download/llama-api-server.wasm
|
23 |
RUN curl -LO https://github.com/second-state/chatbot-ui/releases/latest/download/chatbot-ui.tar.gz; tar xzf chatbot-ui.tar.gz; rm chatbot-ui.tar.gz
|
|
|
11 |
ENV PROMPT_TEMPLATE=${PROMPT_TEMPLATE}
|
12 |
|
13 |
RUN apt-get update && apt-get install -y curl
|
14 |
+
RUN mkdir /models
|
15 |
+
RUN cd /models
|
16 |
|
17 |
+
RUN curl -LO https://huggingface.co/second-state/Llama-3-8B-Instruct-GGUF/resolve/main/Meta-Llama-3-8B-Instruct-Q5_K_M.gguf
|
18 |
RUN curl -LO https://huggingface.co/second-state/Nomic-embed-text-v1.5-Embedding-GGUF/resolve/main/nomic-embed-text-v1.5-f16.gguf
|
19 |
|
20 |
+
#COPY $CHAT_MODEL_FILE /models/$CHAT_MODEL_FILE
|
21 |
+
#COPY $EMBEDDING_MODEL_FILE /models/$EMBEDDING_MODEL_FILE
|
22 |
+
|
23 |
RUN curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install_v2.sh | bash -s -- -v 0.13.5
|
24 |
RUN curl -LO https://github.com/LlamaEdge/LlamaEdge/releases/latest/download/llama-api-server.wasm
|
25 |
RUN curl -LO https://github.com/second-state/chatbot-ui/releases/latest/download/chatbot-ui.tar.gz; tar xzf chatbot-ui.tar.gz; rm chatbot-ui.tar.gz
|