docker: attempt to fix docker image deployment

This commit is contained in:
pedro 2025-01-30 08:46:27 +01:00
parent d7d6fb7bc6
commit 2ff630f212

View file

@ -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:-}
}