MVPilgrim commited on
Commit
df6c35a
·
1 Parent(s): c0ba0c7
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -46,12 +46,13 @@ RUN pip3 install --break-system-packages https://files.pythonhosted.org/packages
46
  RUN pip3 install --break-system-packages llama_cpp_python
47
  RUN FORCE_CMAKE=1 CMAKE_SYSTEM_PROCESSOR=AMD64 pip3 install --break-system-packages --verbose --no-cache-dir llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
48
  RUN pip3 install --break-system-packages cffi
49
- # Install text2vec-transformers
 
50
  WORKDIR /app/text2vec-transformers
51
  #COPY --from=semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1 /app /app/text2vec-transformers
52
  #COPY --from=semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1 /usr/local/bin /app/text2vec-transformers/bin
53
  COPY ./multi-qa-MiniLM-L6-cos-v1 /app/text2vec-transformers
54
- RUN ./custom_prerequisites.py
55
 
56
  # Copy application files
57
  WORKDIR /app
 
46
  RUN pip3 install --break-system-packages llama_cpp_python
47
  RUN FORCE_CMAKE=1 CMAKE_SYSTEM_PROCESSOR=AMD64 pip3 install --break-system-packages --verbose --no-cache-dir llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
48
  RUN pip3 install --break-system-packages cffi
49
+
50
+ l# Install text2vec-transformers
51
  WORKDIR /app/text2vec-transformers
52
  #COPY --from=semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1 /app /app/text2vec-transformers
53
  #COPY --from=semitechnologies/transformers-inference:sentence-transformers-multi-qa-MiniLM-L6-cos-v1 /usr/local/bin /app/text2vec-transformers/bin
54
  COPY ./multi-qa-MiniLM-L6-cos-v1 /app/text2vec-transformers
55
+ RUN ./multi-qa-MiniLM-L6-cos-v1/custom_prerequisites.py
56
 
57
  # Copy application files
58
  WORKDIR /app