Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -39,10 +39,13 @@ ENV PATH="/app:/app/weaviate-v1.24.10-linux-x86_64:${PATH}"
|
|
39 |
# Expose the Weaviate port
|
40 |
EXPOSE 8080
|
41 |
|
|
|
|
|
|
|
42 |
##############################################################################
|
43 |
# Install text2vec-transformers
|
44 |
WORKDIR /app/text2vec-transformers
|
45 |
-
COPY --from=semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1 /app /app/text2vec-transformers
|
46 |
COPY --from=semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1 /usr/local/bin /app/text2vec-transformers/bin
|
47 |
|
48 |
COPY ./multi-qa-MiniLM-L6-cos-v1 /app/app/text2vec-transformers
|
@@ -52,8 +55,6 @@ ENV PATH="/app/text2vec-transformers:/app/text2vec-transformers/bin:${PATH}"
|
|
52 |
#RUN pip install nltk==3.8.1 optimum==1.13.2 onnxruntime==1.16.1 onnx==1.14.1
|
53 |
RUN ./custom_prerequisites.py
|
54 |
|
55 |
-
#COPY Llama-2-7B-Chat-GGUF/llama-2-7b-chat.Q4_0.gguf /app
|
56 |
-
RUN wget -v0 /app/llama-2-7b-chat.Q4_0.gguf https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGUF/llama-2-7b-chat.Q4_0.gguf
|
57 |
|
58 |
##############################
|
59 |
RUN useradd -m -u 1000 user
|
|
|
39 |
# Expose the Weaviate port
|
40 |
EXPOSE 8080
|
41 |
|
42 |
+
#COPY Llama-2-7B-Chat-GGUF/llama-2-7b-chat.Q4_0.gguf /app
|
43 |
+
RUN wget -v0 /app/llama-2-7b-chat.Q4_0.gguf https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGUF/llama-2-7b-chat.Q4_0.gguf
|
44 |
+
|
45 |
##############################################################################
|
46 |
# Install text2vec-transformers
|
47 |
WORKDIR /app/text2vec-transformers
|
48 |
+
COPY -- from=semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1 /app /app/text2vec-transformers
|
49 |
COPY --from=semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1 /usr/local/bin /app/text2vec-transformers/bin
|
50 |
|
51 |
COPY ./multi-qa-MiniLM-L6-cos-v1 /app/app/text2vec-transformers
|
|
|
55 |
#RUN pip install nltk==3.8.1 optimum==1.13.2 onnxruntime==1.16.1 onnx==1.14.1
|
56 |
RUN ./custom_prerequisites.py
|
57 |
|
|
|
|
|
58 |
|
59 |
##############################
|
60 |
RUN useradd -m -u 1000 user
|