single step production build

This commit is contained in:
simon 2022-12-22 10:49:43 +07:00
parent 7d48b7f78f
commit d8c3f62055
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 3 deletions

View File

@ -24,9 +24,7 @@ function docker_publish {
rsync -a --progress --delete helper_scripts $public_host:
rsync -a --progress --delete builder/ $public_host:builder
ssh "$public_host" "mkdir -p builder/clone"
ssh "$public_host" 'docker compose -f docker/docker-compose.yml build tubearchivist'
ssh "$public_host" 'docker compose -f docker/docker-compose.yml up -d'
ssh "$public_host" 'docker compose -f docker/docker-compose.yml up -d --build'
}
# check package versions in requirements.txt for updates