diff --git a/ops/deploy-backend.sh b/ops/deploy-backend.sh index 32ce117..74e3af0 100644 --- a/ops/deploy-backend.sh +++ b/ops/deploy-backend.sh @@ -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.