imbajin commented on code in PR #195: URL: https://github.com/apache/incubator-hugegraph-ai/pull/195#discussion_r1984510415
########## docker/Dockerfile.llm: ########## @@ -0,0 +1,19 @@ +FROM python:3.10.16-bookworm + +RUN pip install --no-cache-dir poetry + +WORKDIR /home/work/ + +COPY --chown=work:work hugegraph-python-client/ ./hugegraph-python-client/ +COPY --chown=work:work hugegraph-llm/ ./hugegraph-llm/ + +RUN cd /home/work/hugegraph-llm && \ + poetry config virtualenvs.in-project true && \ + poetry lock && \ + poetry install --no-interaction --no-ansi --verbose + +ENV PATH="/home/work/hugegraph-llm/.venv/bin:$PATH" + +WORKDIR /home/work/hugegraph-llm + +CMD [ "python", "-m", "hugegraph_llm.demo.rag_demo.app", "--port", "8080" ] Review Comment: we also need 2 config files for the container: - `.env file` (in hugegraph-llm/.env) - `config_prompt.yml` (in `hugegraph-llm/src/hugegraph_llm/resources/demo/config_prompt.yaml` I'll enhance it in another PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
