env-docker/bin/update.sh
2022-09-25 09:32:24 -05:00

13 lines
215 B
Bash
Executable File

#!/bin/bash
# 2022-09-25 Hyperling
# Script to update a docker compose image.
docker compose down
docker compose pull &&
docker compose up -d &&
exit 0
echo "ERROR: Did not update or start correctly." &&
exit 1