Pei2 commited on
Commit
f2b3d1e
·
1 Parent(s): 23f9537
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -1,4 +1,11 @@
1
  FROM pz202212/apikg:v2
 
2
  COPY ./conf /var/lib/neo4j/conf
 
 
 
3
  EXPOSE 7687 7860
4
- CMD ["neo4j"]
 
 
 
 
1
  FROM pz202212/apikg:v2
2
+ USER root
3
  COPY ./conf /var/lib/neo4j/conf
4
+ RUN chown -R neo4j:neo4j /var/lib/neo4j/conf
5
+
6
+ USER neo4j
7
  EXPOSE 7687 7860
8
+
9
+ COPY start.sh /start.sh
10
+ RUN chmod +x /start.sh
11
+ ENTRYPOINT ["/start.sh"]