diff --git a/neo4j/Dockerfile b/neo4j/Dockerfile index 2b3baebe60847c2487208260856ec0b1e3772e75..25461cecfceb763ab4c6954bd1c32b44eb08fcff 100755 --- a/neo4j/Dockerfile +++ b/neo4j/Dockerfile @@ -1,19 +1,5 @@ FROM neo4j:4.4.0 - -#ARG UID -#ARG GID -# -#ENV UID=${UID} -#ENV GID=${GID} -# -#RUN addgroup -g ${GID} --system neo4j -#RUN adduser -G neo4j --system -D -s /bin/sh -u ${UID} neo4j -#COPY import/* import/ -#RUN bash -c "neo4j-admin load --from=/import/software-graph.dump --verbose --database=software-graph" -#RUN bash -c "neo4j-admin load --from=import/software-graph.dump --database=data --force --verbose" -#RUN bash -c "cypher-shell -u neo4j -p test --non-interactive -f import/data_cypher.cypher" - USER neo4j EXPOSE 7474 7473 7687 \ No newline at end of file diff --git a/neo4j/script.sh b/neo4j/script.sh deleted file mode 100755 index cd539d6f4a32b3b4128a1834a2978d865aecbad7..0000000000000000000000000000000000000000 --- a/neo4j/script.sh +++ /dev/null @@ -1 +0,0 @@ -neo4j-admin load --from=import/software-graph.dump --database=neo4j --force \ No newline at end of file diff --git a/neo4j/scripts/import.sh b/neo4j/scripts/import.sh new file mode 100644 index 0000000000000000000000000000000000000000..7c19464d9caebcf1e7c12296d94c60459333dad0 --- /dev/null +++ b/neo4j/scripts/import.sh @@ -0,0 +1 @@ +cypher-shell -u neo4j -p test --non-interactive -f import/data_cypher.cypher \ No newline at end of file