init commit
This commit is contained in:
12
lottery/bin/update.sh
Executable file
12
lottery/bin/update.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd `dirname $0`/..
|
||||
|
||||
git pull
|
||||
|
||||
docker compose down
|
||||
docker compose build
|
||||
docker compose up -d web
|
||||
sleep 1
|
||||
./bin/cli migrate
|
||||
docker compose up -d
|
||||
Reference in New Issue
Block a user