main
Steve Nyemba 5 days ago
parent 57569f2864
commit 394b24fc7d

@ -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"]
# CMD ["/data-transport"]
Loading…
Cancel
Save