update
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
HOST=${1:-"http://localhost:8000"}
|
||||
KUBERNETES_ENV_FILE=$(realpath ${1:-"./kube.exemple.env"})
|
||||
HOST=${2:-"http://localhost:8000"}
|
||||
docker network create oc | true
|
||||
|
||||
docker compose down
|
||||
@@ -27,6 +28,7 @@ do
|
||||
docker kill $i | true
|
||||
docker rm $i | true
|
||||
cd ./$i
|
||||
cp $KUBERNETES_ENV_FILE ./env.env
|
||||
docker build . -t $i --build-arg=HOST=$HOST && docker compose up -d
|
||||
cd ..
|
||||
done
|
||||
Reference in New Issue
Block a user