Spaces:
Sleeping
Sleeping
debug
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -55,7 +55,7 @@ COPY --from=semitechnologies/transformers-inference:sentence-transformers-multi-
|
|
| 55 |
|
| 56 |
COPY ./multi-qa-MiniLM-L6-cos-v1 /app/app/text2vec-transformers
|
| 57 |
|
| 58 |
-
ENV PATH="/app/text2vec-transformers:/app/text2vec-transformers/bin:${PATH}"
|
| 59 |
#RUN pip install -r requirements.txt--server.port=8501 --server.address=0.0.0.0
|
| 60 |
#RUN pip install nltk==3.8.1 optimum==1.13.2 onnxruntime==1.16.1 onnx==1.14.1
|
| 61 |
RUN ./custom_prerequisites.py
|
|
@@ -77,5 +77,4 @@ WORKDIR /app
|
|
| 77 |
#RUN --mount=type=cache,target=/data,mode=777 echo "### Mounting /data"
|
| 78 |
#CMD ["/app/startupDbgUI.sh"]
|
| 79 |
EXPOSE 8501
|
| 80 |
-
CMD /app/startup.sh
|
| 81 |
-
# streamlit run semsearch.py --server.port=8501 --server.address=0.0.0.0
|
|
|
|
| 55 |
|
| 56 |
COPY ./multi-qa-MiniLM-L6-cos-v1 /app/app/text2vec-transformers
|
| 57 |
|
| 58 |
+
ENV PATH="/usr/bin/local:/app/text2vec-transformers:/app/text2vec-transformers/bin:${PATH}"
|
| 59 |
#RUN pip install -r requirements.txt--server.port=8501 --server.address=0.0.0.0
|
| 60 |
#RUN pip install nltk==3.8.1 optimum==1.13.2 onnxruntime==1.16.1 onnx==1.14.1
|
| 61 |
RUN ./custom_prerequisites.py
|
|
|
|
| 77 |
#RUN --mount=type=cache,target=/data,mode=777 echo "### Mounting /data"
|
| 78 |
#CMD ["/app/startupDbgUI.sh"]
|
| 79 |
EXPOSE 8501
|
| 80 |
+
CMD /app/startup.sh; /usr/local/bin/streamlit run semsearch.py --server.port=8501 --server.address=0.0.0.0
|
|
|