@@ -18,23 +18,8 @@ RUN mkdir -p /etc/apt/keyrings \
18
18
&& apt update \
19
19
&& apt install nodejs -y
20
20
21
- # Install Neo4j
22
- ENV NEO4J_HOME="/var/lib/neo4j"
23
- RUN wget -O - https://debian.neo4j.com/neotechnology.gpg.key | apt-key add - && \
24
- echo 'deb https://debian.neo4j.com stable 5' | tee -a /etc/apt/sources.list.d/neo4j.list && \
25
- apt-get update && \
26
- apt-get install -y neo4j=1:5.9.0 && \
27
- echo dbms.security.auth_enabled=false >> /etc/neo4j/neo4j.conf && \
28
- apt-get clean && \
29
- rm -rf /var/lib/apt/lists/* && \
30
- chown -R neo4j:neo4j /var/lib/neo4j && \
31
- chown -R neo4j:neo4j /var/log/neo4j && \
32
- chmod -R g+rw /var/lib/neo4j && \
33
- chmod -R g+rw /var/log/neo4j
34
-
35
21
# Configure 'explodejs' user
36
22
RUN useradd -ms /bin/bash explodejs && \
37
- usermod -aG neo4j explodejs && \
38
23
echo explodejs:explodejs | chpasswd && \
39
24
cp /etc/sudoers /etc/sudoers.bak && \
40
25
echo "explodejs ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
@@ -57,9 +42,9 @@ COPY --chown=explodejs:explodejs ./bench/datasets /home/explodejs/explode-js/dat
57
42
RUN rm -rf /home/explodejs/explode-js/fast/.git \
58
43
&& rm -rf /home/explodejs/explode-js/datasets/.git
59
44
60
- COPY ./run-fast.py /home/explodejs/explode-js
61
- COPY ./table_fast.py /home/explodejs/explode-js
62
- COPY ./table_fast_time.py /home/explodejs/explode-js
45
+ COPY ./bench/ run-fast.py /home/explodejs/explode-js
46
+ COPY ./bench/ table_fast.py /home/explodejs/explode-js
47
+ COPY ./bench/ table_fast_time.py /home/explodejs/explode-js
63
48
64
49
# Install 'fast'
65
50
RUN python3 -m pip config set global.break-system-packages true
0 commit comments