demo docker initial setup
This commit is contained in:
parent
d77800b2f9
commit
0ab499fe65
5
demo/memgraph_demo.build
Executable file
5
demo/memgraph_demo.build
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd ..
|
||||
docker rmi memgraph_demo
|
||||
docker build -t memgraph_demo -f demo/memgraph_demo.docker .
|
8
demo/memgraph_demo.docker
Normal file
8
demo/memgraph_demo.docker
Normal file
@ -0,0 +1,8 @@
|
||||
FROM ubuntu:16.04
|
||||
|
||||
RUN apt-get update && apt-get install -y python3.5 python3-pip \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN pip3 install flask requests
|
||||
|
||||
CMD ["/bin/bash"]
|
5
demo/memgraph_demo.run
Executable file
5
demo/memgraph_demo.run
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker stop memgraph_demo
|
||||
docker rm memgraph_demo
|
||||
docker run -it --rm memgraph_demo
|
5
demo/neo4j_demo.run
Executable file
5
demo/neo4j_demo.run
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker stop neo4j_demo
|
||||
docker rm neo4j_demo
|
||||
docker run -d --name neo4j_demo -p 7474:7474 neo4j
|
Loading…
Reference in New Issue
Block a user