Permalink
Switch branches/tags
Nothing to show
Find file Copy path
3fc86f0 Jul 30, 2018
1 contributor

Users who have contributed to this file

executable file 14 lines (9 sloc) 456 Bytes
#!/bin/bash
# build the flask container
docker build -t prakhar1989/foodtrucks-web .
# create the network
docker network create foodtrucks-net
# start the ES container
docker run -d --name es --net foodtrucks-net -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:6.3.2
# start the flask app container
docker run -d --net foodtrucks-net -p 5000:5000 --name foodtrucks-web prakhar1989/foodtrucks-web