Fuck docker
This commit is contained in:
13
rpi/deploy.sh
Normal file
13
rpi/deploy.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
git pull
|
||||
docker compose down
|
||||
|
||||
if [ "$1" != "preserve" ]; then
|
||||
docker compose build --no-cache
|
||||
fi
|
||||
|
||||
docker compose up -d --force-recreate
|
||||
|
||||
source ./bin/activate
|
||||
python3 ./main.py
|
||||
Reference in New Issue
Block a user