File size: 2,318 Bytes
3943768
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM gcr.io/vorvan/h2oai/h2oai-h2ogpt-runtime:0.2.1-1290
USER root
#
COPY src/enums.py /workspace/src/enums.py
COPY src/gen.py /workspace/src/gen.py
COPY src/gpt_langchain.py /workspace/src/gpt_langchain.py
COPY src/model_utils.py /workspace/src/model_utils.py
COPY src/prompter.py /workspace/src/prompter.py
COPY src/utils.py /workspace/src/utils.py
COPY src/version.py /workspace/src/version.py

COPY openai_server/agent_prompting.py /workspace/openai_server/agent_prompting.py
COPY openai_server/agent_utils.py /workspace/openai_server/agent_utils.py
COPY openai_server/autogen_2agent_backend.py /workspace/openai_server/autogen_2agent_backend.py
COPY openai_server/autogen_agents.py /workspace/openai_server/autogen_agents.py
COPY openai_server/autogen_multi_agent_backend.py /workspace/openai_server/autogen_multi_agent_backend.py
COPY openai_server/autogen_utils.py /workspace/openai_server/autogen_utils.py
COPY openai_server/server.py /workspace/openai_server/server.py
COPY openai_server/agent_tools/download_web_video.py /workspace/openai_server/agent_tools/download_web_video.py
COPY openai_server/agent_tools/convert_document_to_text.py /workspace/openai_server/agent_tools/convert_document_to_text.py
COPY openai_server/agent_tools/ask_question_about_documents.py /workspace/openai_server/agent_tools/ask_question_about_documents.py

COPY openai_server/agent_prompting.py /workspace/openai_server/agent_prompting.py
COPY openai_server/agent_tools/bing_search.py /workspace/openai_server/agent_tools/bing_search.py
COPY openai_server/agent_tools/convert_document_to_text.py /workspace/openai_server/agent_tools/convert_document_to_text.py
COPY openai_server/agent_tools/download_youtube_video.py /workspace/openai_server/agent_tools/download_youtube_video.py
COPY openai_server/agent_tools/google_search.py /workspace/openai_server/agent_tools/google_search.py
COPY openai_server/autogen_utils.py /workspace/openai_server/autogen_utils.py

RUN chmod a+rwx /workspace/src/*.py
RUN chmod a+rwx /workspace/openai_server/*.py
RUN chmod a+rwx /workspace/openai_server/agent_tools/*.py

RUN chmod a+rwx /workspace/.cache

USER h2ogpt

# docker build -f docs/Dockerfile.delta2 -t gcr.io/vorvan/h2oai/h2oai-h2ogpt-runtime:0.2.1-1290-patch1 .
# docker push gcr.io/vorvan/h2oai/h2oai-h2ogpt-runtime:0.2.1-1290-patch1