From 8aca4c071db34d66d6922b446c595ec21eb456db Mon Sep 17 00:00:00 2001 From: kkaris Date: Wed, 29 Nov 2023 13:45:56 -0800 Subject: [PATCH] Set embeddings_path in Dockerfile.local --- docker/Dockerfile.local | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.local b/docker/Dockerfile.local index d8ac4e8f9..c1bf465c1 100644 --- a/docker/Dockerfile.local +++ b/docker/Dockerfile.local @@ -13,11 +13,13 @@ RUN apt-get update && \ ln -s /usr/bin/python3 /usr/bin/python ARG branch=main +ARG embeddings_path=/sw/embeddings.tsv.gz +ENV EMBEDDINGS_PATH=${embeddings_path} # Add graph content COPY nodes.tsv.gz /sw/nodes.tsv.gz COPY edges.tsv.gz /sw/edges.tsv.gz -COPY embeddings.tsv.gz /sw/embeddings.tsv.gz +COPY embeddings.tsv.gz ${embeddings_path} # Ingest graph content into neo4j RUN sed -i 's/#dbms.default_listen_address/dbms.default_listen_address/' /etc/neo4j/neo4j.conf && \