You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
976 B
Docker

FROM debian
RUN ["apt","update","--fix-missing"]
RUN ["apt","install","-y","git","python3","python3-pip","python3-virtualenv","sqlite3","postgresql"]
RUN ["virtualenv","/usr/local"]
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-transport"]
RUN ["pip3","install","-r","/data-transport/requirements.txt"]
EXPOSE 8082
ENTRYPOINT ["qcms","bootup","/data-transport","--port","8082"]
# RUN ["echo","'qcms bootup /data-bridge'",">","bootup.sh"]
# CMD ["/data-transport"]