From 6d2694bb5be02a238a3d7507eadc57f95685d11d Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Tue, 19 Jul 2022 17:05:21 +0200
Subject: [PATCH] docker/init.sh - add --build on docker composer up

---
 docker/init.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/init.sh b/docker/init.sh
index aac1584..d94a7d6 100755
--- a/docker/init.sh
+++ b/docker/init.sh
@@ -283,7 +283,7 @@ while true; do
             _wait
             ;;
         u)
-            if docker-compose --verbose up -d --remove-orphans; then
+            if docker-compose --verbose up -d --remove-orphans --build; then
                 # test ! -z "${APP_ONSTARTUP}" && sleep 2 && docker exec -it appmonitor-server /bin/bash -c "${APP_ONSTARTUP}" 
                 echo "In a web browser:"
                 echo "  $frontendurl"
-- 
GitLab