From 2ff630f212f4a44ad3d99341ba8e925c985c69e7 Mon Sep 17 00:00:00 2001 From: pedro Date: Thu, 30 Jan 2025 08:46:27 +0100 Subject: [PATCH] docker: attempt to fix docker image deployment --- docker-reset.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-reset.sh b/docker-reset.sh index bdb9ff4..c13c6c6 100755 --- a/docker-reset.sh +++ b/docker-reset.sh @@ -31,9 +31,11 @@ main() { # deactivate configured flag rm -vfr ./already_configured docker compose down -v - docker compose pull --ignore-buildable if [ "${DEV_DOCKER_ALWAYS_BUILD:-}" = 'true' ]; then + docker compose pull --ignore-buildable docker compose build + else + docker compose pull fi docker compose up ${detach_arg:-} }