You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/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
|