Update Dockerfile
Browse files- Dockerfile +4 -7
Dockerfile
CHANGED
@@ -41,17 +41,14 @@ WORKDIR $HOME/app
|
|
41 |
RUN curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install_v2.sh | bash -s -- -v 0.13.5
|
42 |
RUN curl -LO https://github.com/LlamaEdge/LlamaEdge/releases/latest/download/llama-api-server.wasm
|
43 |
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
|
44 |
-
COPY run.sh .
|
45 |
-
RUN chmod +x run.sh
|
46 |
|
47 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
48 |
-
|
|
|
49 |
|
50 |
# Download a checkpoint
|
51 |
#RUN mkdir content
|
52 |
#ADD --chown=user https://huggingface.co/second-state/Nomic-embed-text-v1.5-Embedding-GGUF/resolve/main/nomic-embed-text-v1.5-f16.gguf content/models
|
53 |
|
54 |
-
|
55 |
-
RUN chmod -R 777 $HOME/app
|
56 |
-
|
57 |
-
ENTRYPOINT $HOME/app/run.sh $HOME/models/$CHAT_MODEL_FILE $HOME/models/$EMBEDDING_MODEL_FILE $PROMPT_TEMPLATE "$@"
|
|
|
41 |
RUN curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install_v2.sh | bash -s -- -v 0.13.5
|
42 |
RUN curl -LO https://github.com/LlamaEdge/LlamaEdge/releases/latest/download/llama-api-server.wasm
|
43 |
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
|
44 |
+
#COPY run.sh .
|
|
|
45 |
|
46 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
47 |
+
COPY --chown=user . $HOME/app
|
48 |
+
RUN chmod +x run.sh
|
49 |
|
50 |
# Download a checkpoint
|
51 |
#RUN mkdir content
|
52 |
#ADD --chown=user https://huggingface.co/second-state/Nomic-embed-text-v1.5-Embedding-GGUF/resolve/main/nomic-embed-text-v1.5-f16.gguf content/models
|
53 |
|
54 |
+
ENTRYPOINT run.sh $HOME/models/$CHAT_MODEL_FILE $HOME/models/$EMBEDDING_MODEL_FILE $PROMPT_TEMPLATE "$@"
|
|
|
|
|
|