demo docker initial setup

This commit is contained in:
Marko Budiselic 2016-02-22 01:00:29 +01:00
parent d77800b2f9
commit 0ab499fe65
4 changed files with 23 additions and 0 deletions

5
demo/memgraph_demo.build Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
cd ..
docker rmi memgraph_demo
docker build -t memgraph_demo -f demo/memgraph_demo.docker .

View 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
View 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
View 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