Skip to content

Commit

Permalink
docker: add updater script
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswpark committed Feb 22, 2024
1 parent 1453cf7 commit 976f023
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

# Pull any changes to Compose files
git pull

# Pull latest backend image
docker pull ghcr.io/purdue-cs307-tsundoku/tsundoku-backend:latest

# Reload changed images
docker compose up -d --remove-orphans

0 comments on commit 976f023

Please sign in to comment.