From df76b182ff4ed3f26cdefdc7a51f7c30301ce8f4 Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 29 Dec 2025 18:08:28 +0100 Subject: [PATCH] Add deploy.sh --- api-customer/deploy.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 api-customer/deploy.sh diff --git a/api-customer/deploy.sh b/api-customer/deploy.sh new file mode 100644 index 00000000..e7f13882 --- /dev/null +++ b/api-customer/deploy.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +git pull +docker compose down + +if [ "$1" != "preserve" ]; then + docker compose build --no-cache +fi + +docker compose up -d --force-recreate \ No newline at end of file