Use locally cached base for scoped CI build
Deploy Backend / deploy (push) Successful in 1m6s

This commit is contained in:
Hermes Agent committed 2026-11-18 13:48:09 +00:00
1 parent 7249f001b1
commit 2aa59c5c01
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ export PARSA_BUILD_CONTEXT="$APP_DIR"
export PARSA_BACKEND_IMAGE="parsa-backend-ci:$EXPECTED"
compose=(docker compose -p backend -f "$BASE_COMPOSE" -f "$APP_DIR/ops/backend.compose.yml")
"${compose[@]}" config --quiet
"${compose[@]}" build backend
DOCKER_BUILDKIT=0 "${compose[@]}" build backend
# Exercise the autoloader in the built image before touching the current container.
docker run --rm --network none --entrypoint php "$PARSA_BACKEND_IMAGE" -r 'require "/var/www/html/vendor/autoload.php"; if (!class_exists("Illuminate\\Foundation\\Application")) { exit(1); }'
# Additive activity-only schema; no unrelated migrations or seeders.