From 394b24fc7da132c2bc5adc2fb6fc2c36c760d90e Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Wed, 17 Dec 2025 09:31:56 -0600 Subject: [PATCH] bug fixes --- Dockerfile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 660ef1d..fecd452 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,18 @@ FROM debian RUN ["apt","update","--fix-missing"] RUN ["apt","install","-y","git","python3","python3-pip","python3-virtualenv","sqlite3","postgresql"] RUN ["virtualenv","/usr/local"] -RUN ["/usr/local/bin/pip3","install","--upgrade","pip","xlsxwriter","openpyxl","pyncclient"] -RUN ["/usr/local/bin/pip3","install","qcms@git+https://dev.the-phi.com/git/qcms/cms"] -RUN ["/usr/local/bin/pip3","install","smart-logger@git+https://dev.the-phi.com/git/library/smart-top"] +ENV PATH=/usr/local/bin:$PATH +#RUN ["pip3","install","--upgrade","pip","xlsxwriter","openpyxl","pyncclient","langchain","langchain-community","langchain-core","langchain-ollama","langchain-openai","langchain-text-splitters"] + + +RUN ["pip3","install","qcms@git+https://dev.the-phi.com/git/qcms/cms"] +RUN ["pip3","install","data-transport[all]@git+https://github.com/lnyemba/data-transport"] +# RUN ["pip3","install","smart-logger@git+https://dev.the-phi.com/git/library/smart-top"] -RUN ["git","clone","https://dev.the-phi.com/git/data-transport/studio","/data-bridge"] +RUN ["git","clone","https://dev.the-phi.com/git/data-transport/studio","/data-transport"] +RUN ["pip3","install","-r","/data-transport/requirements.txt"] EXPOSE 8082 -ENV PATH=/usr/local/bin:$PATH -ENTRYPOINT ["qcms","bootup"] + +ENTRYPOINT ["qcms","bootup","/data-transport","--port","8082"] # RUN ["echo","'qcms bootup /data-bridge'",">","bootup.sh"] -CMD ["/data-bridge"] \ No newline at end of file +# CMD ["/data-transport"] \ No newline at end of file